Drupal 6 dynamic menu item
Posted
by djeux
on Stack Overflow
See other posts from Stack Overflow
or by djeux
Published on 2010-02-01T06:51:23Z
Indexed on
2010/03/16
5:26 UTC
Read the original article
Hit count: 358
I need to create a menu item, which changes its title and link if a user has a certain condition, or not. Drupal caches all the menues, so i can't really think of a way to do that.
For example, user has a node attached to his profile, menu item is "Create blabla" (link node/add/blabla) User doesn't have the node, menu item is "Create notblablabla" (link node/add/notblabla)
© Stack Overflow or respective owner