Working with Menus and Superfish

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by adriandahlin on January 24, 2013 at 5:16pm

I'm working on a news site (for Holyoke) and experimenting with a couple ThemeBrain themes. I don't have any CSS or PHP skills myself. Yet. This is the first Drupal site I'm building myself.

Here's my issue right now: the main menu is displaying a vertical list of links instead of the normal horizontal bar. The theme recommends Superfish, so I installed the module, hoping it would help fix the menu. Drupal then asked me to download the Superfish library. This is what I can't figure out. What's the process here and what exactly is a "library"?

Thanks for your help!

AttachmentSize
Screen Shot 2013年01月24日 at 12.11.16 PM.png 30.51 KB
Screen Shot 2013年01月24日 at 12.10.56 PM.png 18.48 KB
Categories: ,

Comments

Libraries

Posted by mdmattin on January 24, 2013 at 11:08pm

Libraries are extra code and other resources used by a module. If you follow the superfish link and download and expand the file, you will see a bunch of Javascript files, css, and images.
Libraries usually live in your sites/all/ directory in a folder called libraries, which you will have to create if it doesn't exist already. How you access this directory depends on how your site is hosted - sometimes you need to ask a sysadmin to give you access or install it for you. It's usually easy to upload the tar file and expand it in the folder.
You will also need to install the Libraries module, which is linked from the Superfish drupal page or here:
http://drupal.org/project/libraries
Check out the help entries for these modules for more info.
Matthew

Pantheon Hosting

Posted by adriandahlin on January 31, 2013 at 7:02pm

I'm hosted through Pantheon, so I'm guessing that I need to take this up with them. Any familiarity with Pantheon?

Do you need superfish?

Posted by msharff on January 31, 2013 at 4:18pm

Are you looking for dropdown menus? if not, then you don't want (or need) Superfish.

The issue you describe sounds like something to do with your theme templates or how your regions or menus are set up.

Yes

Posted by adriandahlin on January 31, 2013 at 7:00pm

I do want to use dropdown menus.

Dropdown and even Mega Menu

Posted by themebrain on June 13, 2013 at 8:17am

Hi Adriandahlin,

Glad to see you are using our themes. Regarding Superfish, go to their project page http://drupal.org/project/superfish, download their libraries into site/all/libraries (you might need to create folder libraries). And ofcourse you need module Libraries as well (separately). This would work I believe.

However, please update your theme since last month Superfish released new version and our themes are updated also to get Superfish work.

Moreover, we're excited to announce that we just released a mega menu module called TB Mega Menu (http://drupal.org/project/tb_megamenu) allows you to create a mega menu at ease with innovative UI. Have a look! :)

ThemeBrain - new generation of Drupal theming
http://themebrain.com

Straight Drupal, or a distribution?

Posted by Diane Bryan on February 18, 2014 at 12:34am

Hi Adriandahlin,

When you installed your site on Pantheon, did you use the Drupal 7 installer, or perhaps a distribution like Panopoly?

In any case, you can access your site directories using SFTP software. I use Filezilla, myself. Your host address, port, username, and password are all indicated on your site dashboard by clicking a gray link that says "(i) SFTP Connection Info".

When you've set up a new site in Filezilla, (File > Site Manager > New Site) connect to your new site and look for the "code" directory. Open that, and then navigate to /sites/all/libraries. If you don't have a libraries directory yet, create it under "sites/all".

Some libraries have to be renamed after they're uploaded. For example, I believe the superfish library, when downloaded, has version info in the directory name. You'll need to rename that to just plain "superfish".

Let us know how it goes!

I’m developing my first Pantheon hosted website locally using the Drupal Commerce Kickstart distribution. I’m using git for code updates and the Dashboard for updating the DB & files.

I added the Superfish module & library in order to get drop down menus. All works fine locally. But it doesn’t work when I visit my dev site on Pantheon.

In Pantheon's Status window I see an error: "Superfish library Error Not supported".

I can see the library at /sites/all/libraries/Superfish. Checked the page source. None of the Superfish js/css is loaded.

Opened a ticket. Awaiting response from support.

Update: just needed to change the name of the directory from 'Superfish' to 'superfish'. Some environments are case sensitive (i.e. Pantheon); some aren't (MAMP).

Being. Knowing. Sharing. Ip Man

UMass Amherst User's Group

Group categories

Tags

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /