Closed (fixed)
Project:
Nice Menus
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2007 at 15:23 UTC
Updated:
6 May 2009 at 06:08 UTC
The documentation says:
theme_nice_menu_primary_links() -- themes your primary links as a nice menu.
I was wondering where I could find more detailed documentation on how to use my primary links navigation with nice menu?
I'm sure this is probably an issue that was brought up before, but the advanced search didn't show anything for Drupal 5 when I did the search. A Google search for "theme_nice_menu_primary_links" didn't really produce anything either.
Any help would be greatly appreciated.
Thanks.
Comments
Comment #1
add1sun commentedBasically you can use the theme_nice_menu_primary_links function like any other theme function. You can call it directly in your page.tpl.php or add it as a variable in your template.php. The most basic way to call it, using the default direction of down, is to just do:
To call it using another direction:
Comment #2
jswaby commentedThanks Add1sun. That really helped. Maybe adding that little explanation to the bundled documentation would help people new to drupal to understand how to call that. I thought it was an actual function call to "theme_nice_menu_primary_links()" somewhere in page.tpl.php, when that isn't really the case. I've been using drupal for 2 years and didn't know how to do it.
I did spend 2 hours googling and trial and error-ing to finally get it going one night last week.
Much thanks :)
P.S. It was nice meeting you in Toronto a few weeks back (I thanked you for the CVS/patch video).
Comment #3
add1sun commentedYes, it was good to meet you too! I am hoping to fill out the documentation in the handbook now that I have it started up and I will copy this there. Feel free to add useful tidbits as child pages there. I'd like to basically encourage all kinds of "how I customized/used nice menus" sharing in there to give folks a place to get started since most support questions for nice menus revolves around being able to theme them properly. I've added the link to the handbook page in the installation info within the module.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
dvkd commentedhi add1sun,
i am using nice menus for getting dropdownlist for primay links ,
its working fine in internet explorer but not in firefox,
u have any idea?