Nice Menus & Primary Links

RichieRich - April 11, 2009 - 16:45

Hi there,

I'm having a nightmare trying to get nice menus to work with primary links. I've tried assigning the primary links to the nice menu but it has no effect. In fact, I've never managed to get the advertised feature of being able to apply nice menus fuctionality to any menu by simply setting the configuration to work. The only way I can actually do it is to assign the nice menu to a region with the configuration. However, I can't do this with the primary links which my theme places in the banner.

I've tried a bunch of themes with no success. I'd like to use the 'forest floor' theme if possible.

I tried replacing the following:

<?php
print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist'))
?>

with:

<?php
print theme('nice_menu_primary_links');
?>

in the forest floor themes page.tpl.php file...but with no success. I tried adding it alongside the old code too but it had strange results. Still, I have very little experience of php.

Any help would be greatly appreciated.

Thanks,

Rich

_

WorldFallz - April 11, 2009 - 19:18

maybe take a look at the http://drupal.org/project/nice_primary_menus module?

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

same issue

jhofer - June 7, 2009 - 05:07

I'm trying to figure out the same thing with the about people theme... the primary nice menus module is for drupal 5... I'm running 6.

 
 

Drupal is a registered trademark of Dries Buytaert.