The Menu module contains 2 sources to assign menus to my site.
How do I add a 3rd source?
Reading through the Zen theme code, I see the variables
I would like to access this 3rd menu source through a variable called
How do I set this variable from a module?
I put this at the bottom of the zen_proprocess_page hook in template.php
$global_menu = menu_navigation_links('menu-global-menu');
and was able to access it with this in page.tpl.php so thank you for that advice
<?php if ($global_menu): ?> <div class="global-navigation"> <ul class="nav"> <?php foreach ($global_menu as $key => $value): ?> <li> <a href="<?php print($value["href"]); ?>" class="global-link" ><?php print($value["title"]); ?></a> </li> <?php endforeach; ?> </ul> </div> <?php endif; ?>
Moved multipart question to new question