Active
Project:
Menu Token
Version:
9.1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2018 at 10:14 UTC
Updated:
2 Dec 2021 at 05:09 UTC
Jump to comment: Most recent
I have built a main menu by using menu token. In main menu i have added a item and chosen Current-User:name as token of current logged in user.
But in case of anonymous user, we are not able to login link instead of username.
Can anyone please help me ?
Comments
Comment #2
andralex commentedHello, @HimanshuBatra
Is for me this is not a bug of the module. Moving it to "Feature request".
According to your question, the possible solution could be to create two different menus (one for authorized and second for anonymous uses) and place them in blocks. Then you can configure the visibility of the blocks according to the user role.
Comment #3
develcuy commented