Posted by tpg on October 16, 2012 at 8:55pm
I'm using OP 2.3 and want to add superfish menus. I can add them using a context however I want to replace the main openpublish menu with the superfish one.
I've tried changing the php code in the page.tpl file but it's not working.
Has anyone got this working?
Comments
OK I figured it out and got
OK I figured it out and got it working.
How did you fix it?
I am trying to put in OM Maximenu and i can't find where to put in the suggested code
<?phpprint $main_menu_tree;
?>
I tried putting it in the region--menu.tpl.php in openpublish/themes/openpublish-themes/gazette/templates but it gives me the following error:
Notice: Undefined variable: main_menu_tree in include() (line 3 of /profiles/openpublish/themes/openpublish-themes/gazette/templates/region--menu.tpl.php).
If I put the exact same line of code in the openpublish/themes/omega/alpha/templates/page.tpl.php it works just fine and displays my menu. However it doesn't show it in the spot i want. I want it in the menu region. How can I do this?
Any help is appreciated.
Thanks,
Eric