Hi,
The page.tpl.php file does not include $main_menu and $secondary_menu variables. These features have been removed from the theme's info file as well. Does that mean that you don't want to support these and instead want people to use corresponding blocks?

Thanks,
Progga

Comments

farhadhf’s picture

subscribing,
I'm trying to print main menu in div#header-site-info-inner right after logo, but I don't seem to be able to do so! is it possible to do so using $page['main_menu']? Sorry if I'm asking dumb questions, I'm kinda new to the whole drupal theming process!

Thanks in advance

esmerel’s picture

Status: Active » Fixed

progga, I think those were removed from core, so yes, use the corresponding blocks.

farhadhf - I think that's separate from the original question; you probably should open a new issue for that.

progga’s picture

Hi,
I was looking at http://api.drupal.org/api/drupal/modules--system--page.tpl.php/7 and it looks like $main_menu and $secondary_menu are very much alive. As an interim solution, I will go with your suggestion and use the blocks. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.