Remove certain files from staging area
git reset HEAD -- <path/to/file>
Remove all files from staging area
git reset HEAD -- .
Rename current local branch
In the previous part of the series, we added dynamically generated 'Next' and 'Previous' links to our content carousel...although currently it is more of a content generator. In this part, let's add a carousel and create transitions between content refreshes.
In the previous part of the series, we completed a custom Drupal module which allows us to dynamically load node content based on a link. We were using a static link to test the AJAX functionality, however in the final carousel, we want that link to be generated dynamically (based on the...
This was the part of the project I had most questions about before starting. I've worked with lots of carousels in the past so I knew it wouldn't be difficult to hook something up and even the next/previous link generation didn't worry me too much (I thought it would come down to...