Superfish and OP2.3

Events happening in the community are now at Drupal community events on www.drupal.org.
tpg's picture

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

tpg's picture

OK I figured it out and got it working.

How did you fix it?

esavoie's picture

I am trying to put in OM Maximenu 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?

Any help is appreciated.

Thanks,
Eric

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: