By Eugene Dubois on
In a theme I would like to replace the primary links menu with a different links menu under certain circumstances.
It would be something like this:
$primary_links = $different_links;
Is this possible?
Thanks,
Eugene
In a theme I would like to replace the primary links menu with a different links menu under certain circumstances.
It would be something like this:
$primary_links = $different_links;
Is this possible?
Thanks,
Eugene
Comments
I think that the easiest way
I think that the easiest way to achieve that is to create a new menu, and under admin/block configure its behavior to display on particular pages, as well as primary links block.
Thank you
I managed to do this with the module 'menu per role'. (http://drupal.org/project/menu_per_role)
I needed different primary links for different roles of users.