How to setup the Superfish menu:
- Copy the Superfish module to sites/all/modules or sites/sitename/modules.
- Copy the Libraries API module to sites/all/modules or sites/sitename/modules as you require.
- Download the latest version of the Superfish libraryand extract it to sites/all/libraries or sites/sitename/libraries as you require. The extracted folder must be named superfish.
- Enable Superfish and Libraries API modules.
- Go to Administer > Menus > Primary links > Add link.
- Check the ‘Show as expanded’ option for parent menu items only if you want main menu as drop down.
The slideshow is based on the NIVO Slider.
Configuring NIVO Slider:
- Copy the Nivo Slider module to sites/all/modules or sites/sitename/modules.
- Download the latest version of the Nivo Slider jQuery plugin and extract it to sites/all/libraries or sites/sitename/libraries as you require. The extracted folder must be named nivo-slider.
- Enable Nivo Slider module.
- Add slides to the slideshow /admin/structure/nivo-slider.
- An administration interface to configure slideshow settings in ‘admin/structure/nivo-slider/options’.
- Add block Nivo Slider to region ‘Slideshow’ in ‘admin/structure/block’.
- Clear your cache and refresh the page.
- Clean design
- Fixed width 1000px
- Multiple columns – 1, 2, or 3
- Multi-level drop-down menus
- Many block regions
- Support custom logo
- Ready to use slideshow
Setting up repository for the first time
git clone --branch 7.x-1.x https://git.drupal.org/project/likable.git
The headings below are not sequential. What you choose to do depends on where you are in your process.
Checking your repository status
To see what you will commit by running
git commit and what you could commit by running
git add before running
Switching to a different branch
When you clone the repository you have access to all the branches and tags. The first command shows your choices. The second command makes the switch. See branching and tagging for details.
git branch -a
git checkout [branchname]
Getting ready to create or apply patches
If you have not already cloned the repository, follow the directions above for setting up this repository in your local environment. Be sure you are on the branch you wish to patch, then ensure it is up-to-date with the following command:
git pull origin 7.x-1.x
Creating a patch
For most improvements, use the following command after making your changes:
git diff > [description]-[issue-number]-[comment-number].patch
For more complex improvements that require adding/removing files, work over the course of multiple days including Git commits, or collaboration with others, see the Advanced patch workflow.
Applying a patch
Download the patch to your working directory. Apply the patch with the following command:
git apply -v [patchname.patch]
To avoid accidentally including the patch file in future commits, remove it:
When you’re done: Reverting uncommited changes
Revert changes to a specific file:
git checkout [filename]
Revert changes to the whole working tree:
git reset --hard