Closed (fixed)
Project:
Fusion
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2011 at 12:14 UTC
Updated:
4 Oct 2011 at 09:51 UTC
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
Comment #1
farhadhf commentedsubscribing,
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
Comment #2
esmerel commentedprogga, 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.
Comment #3
progga commentedHi,
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.