Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Old way to print menus in Drupal 7 page.tpl.php.
<?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'clearfix')))); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment