Closed (fixed)
Project:
Genesis
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2011 at 08:49 UTC
Updated:
18 Jul 2011 at 23:05 UTC
How do I create another menu variable, with the user menu in it, and display it like the main and secondary menus?
I am already using the main and secondary menus, and need a third.
So:
<?php if ($main_menu_links): ?>
<div id="main-menu-wrapper" class="clearfix">
<div class="main-menu-inner"><?php print $main_menu_links; ?></div>
</div>
<?php endif; ?>
Becomes:
<?php if ($user_menu_links): ?>
<div id="user-menu-wrapper" class="clearfix">
<div class="user-menu-inner"><?php print $user_menu_links; ?></div>
</div>
<?php endif; ?>
Thanks
Glenn
Comments
Comment #1
glennnz commentedI have, in my template.php:
and
in my page.tpl.php, but I'm getting:
Even if I use:
I get the same error.
What am I doing wrong?
Thanks
Glenn
Comment #2
glennnz commentedSolved