Can you please tell me how I can make the primary links menu in the grey bar into a nice menu (drop down)? The region for the grey bar does not seem to be defined...
Can you please tell me how I can make the primary links menu in the grey bar into a nice menu (drop down)? The region for the grey bar does not seem to be defined...
Comments
Comment #1
Alan Cooney commentedYes, change the following in page.tpl.php:
To:
And add the following to template.php:
}
Comment #2
Alan Cooney commentedNote: for some reason the last } was placed outside the code, put it back in to terminate that function.
Comment #3
Alan Cooney commentedComment #4
albunix commentedGreetings,
I have done 2 steps as shown from you
1) changes in the following in page.tpl.php
2) add on to template.php
I am wondering, is there anything else at all that one ought to do in order
to get drop down menus in the Forest Floor theme?
I'm trying to put a site together for a friend at this URL
http://visapa.com
Is there any editing of the .css file I ought to be doing etc.
Please explain in simple terminology, as I haven't' kept up with drupal in quite a long time.
Thanks.
Comment #5
albunix commentedHello,
I apologize, but I did not change the actual status to 'active'
Again, this is not a bug/error just inquiry on how to do things.
Thanks
Comment #6
GaryTorello commentedI'm also trying to do this.. following the instructions above and then activating the block in the "primary Links region" gives me a second row menu beneath the existing. ugh
Comment #7
Alan Cooney commentedYes you need to add the nice menu block to that region and then disable the primary links on the theme. Alternatively, I have seen a better solution is to use the following:
<?php print theme('nice_menu_primary_links') ?>To replace:
<?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?>This can then be styled accordingly (have a look at http://drupal.org/node/185543 ).
Let me know if you are still having problems with this.
Alan
Comment #8
GaryTorello commentedThanks! Although you'll have to pardon a newbie question... What I'm looking to accomplish is to have the nicely styled gray primary bar that comes with Forest Floor turn into a dropdown menu.. will this accomplish that or do I have to do additional styling or other stuff?
If so, a step-by-step walk-thru would be GREATLY appreciated.
TIA!
Comment #9
ErwinROw commentedHi there,
I'm trying to do the same. I wanna make a rollover menu in forest-floor of the primary links, did the 2 steps but it doens't work.
Please help me...I'm new with this :-(
Comment #10
ErwinROw commentedCan I just add the code at the bottom of the template.php ? I do something wrong...
Comment #11
Alan Cooney commentedGaryTorello - you will need to add more css to the module, or switch its style away from default so that the theme styles are used.
Erwin - Please put it in page.tpl.php as described.
Alan
Comment #12
Alan Cooney commentedComment #14
Abhaya commentedhi !
Still could not fixed the problem i follow both ur steps but there is nothing on that section could you please help me out !
Comment #15
Famous4 commentedHi All,
I just started with drupal and using this theme aswell.
I am cracking my head to get the dropdown menu (sub menu below example About Us in grey navbar)
It is working by primary links, in theme its placed automatically there, which is nice, but by sliding a menu item bit to the left in Primary links settings will not show it.
Can someone tell me what i need to do in simple step by step cause am really stuck.
Thanks to all!