Skip to content

Instantly share code, notes, and snippets.

Created June 1, 2013 15:59
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