Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Thanks, I had seen that before. But what I really want is a way to add menu items to a block, such as the main user block that can't be edited, and control whether they are visible or not to a logged in user. You can add menu items to the block, but if you add them yourself they are always visible, but the ones the user menu system adds itself only show when logged in...
Comments
Try this
I'm not sure if using menu module, but I use this code in one of my pages.
Thanks, I had seen that
Thanks, I had seen that before. But what I really want is a way to add menu items to a block, such as the main user block that can't be edited, and control whether they are visible or not to a logged in user. You can add menu items to the block, but if you add them yourself they are always visible, but the ones the user menu system adds itself only show when logged in...
I'd like to know too...
I'd like to know too...