I want to add #ID or Class items to each individual list item, something like 'menu-item-1', 'menu-item-2', etc.? Should I do this in template.tpl.php, or directly change the output in page.tpl.php?
My current coding is adapted to work for dropdown (tree) menu.
Thanks for help!
<div id="nav"><!--nav-->
<?php
$menu_name = variable_get('menu_main_links_source', 'main-menu');
$tree = menu_tree($menu_name);
print drupal_render($tree);
?>
</div><!--/nav-->