Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
v8powerage CreditAttribution: v8powerage commentedComment #2
Plazmus CreditAttribution: Plazmus commentedyou can call dynamic persistent menu block directly from your page.tpl.php file, so you will not get all that additional block div's.
Comment #3
yrocq CreditAttribution: yrocq commented