I've been trying to modify the page.tpl file so that I can display nice primary menus. According to this page (http://drupal.org/node/215142), you can change the code like this:

Note that for me (using the Zen theme), I opened my page.tpl.php template file and changed

print theme('links', $primary_links);
to
print theme('nice_menu_links', $primary_links);

so that you can have drop down menus for secondary links but instead of doing this the primary links disappear. I've used the module before and I know that the change usually works but I dont know why it isn't now. I dont really know PHP but I can fumble my way around. Can you say what I am doing wrong? THis may be related to the nice menus module but since it has worked for me on other sites, I thought I would ask you guys instead. Thanks.

Comments

pixture’s picture

I'm not sure exactly what's wrong but I am using the code below and it's been working with Drupal 6.x and latest nice menu module.

 theme_nice_menu_primary_links($primary_links);

I replace the code above with the code you listed, and the primary links has gone. I am not sure why but maybe it's related with nice menu module.

Hope this works for you.

marciaj’s picture

Thanks for the update. I'm not sure why it's not working. I've tried it on several other sites. I even was able to fix some of the minor issues that cropped up. Anyway, my solution to this was to find another theme with suckerfish menus. Way easier.