Quantcast
Channel: OpenPublish
Viewing all articles
Browse latest Browse all 61

Using OM-Maximenu With OP3 on Drupal 7

$
0
0

I am trying to put in OM Maximenu as my main menu and i can't find where to put in the suggested code

<?php
print $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?

Is there something I need to do to make the openpublish gazette theme recognize the $main_menu_tree variable? Do I need to include it somehow? It is available in both the omega alpha and omega omega themes, just not in the gazette theme...

Any help is appreciated.

Thanks,
Eric


Viewing all articles
Browse latest Browse all 61

Trending Articles