Hi
I'm experiencing difficulties with theming menu because it's placed in the top header of my website inside exsisting structure and block is not needed, I'd like to have a code which I could paste inside my page.tpl.php instead doing this by enabling block, is this possible?

I'm wondering about something like from the yui menu:

if (module_hook('yuimenu','menu') && ("tns" == variable_get('yuimenu_type','tns') || "tnm"==variable_get('yuimenu_type','tns')) ){
print html_menu(variable_get('yuimenu_root','1') );
}

Comments

v8powerage’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Plazmus’s picture

you can call dynamic persistent menu block directly from your page.tpl.php file, so you will not get all that additional block div's.

 $block = module_invoke('dynamic_persistent_menu', 'block', 'view', '0'); 
  print $block['content']; 
yrocq’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev