Hello.
With my last theme i was able to integrate nice_menu, with the menu bar in the page.tpl.php file.
But whith this theme, i cant figure out where to put the code, in the page.tpl.php file.
http://www.youtube.com/watch?v=oPP6LNLeGcg
That is the tutorial i followed.
Is there someone that can help me?
Comments
Comment #1
dudenhofer commentedThere are a couple ways you can do it. If you prefer to use the method explained in the video, then you should make sure you're using a subtheme, and replace line 95 of the page.tpl.php file with the code he references. You're looking for this:
<?php if ($primary_navigation): print $primary_navigation; endif; ?>The other alternative (and probably preferred way) is to go to the theme settings (admin/appearance/settings/YOURTHEME) and disable the Main Menu option. This will remove the default menu from being output. Then in your block settings, configure one of your nice menu blocks to use the Main Menu. Place that nice menu block in the "Menu Bar" region -- which is generally only used for this type of scenario. This way would be best if you're not making a sub-theme because you won't be hacking any of the template files.
Both return nearly the exact same results.
Comment #2.0
(not verified) commentedInserted link