Hi everyone,

I have a problem with this module. I make a menu for the user, where I use the token [current-user: name] (link to /user).
When the user is logged in - it's OK, it shows "name", but when the user is not logged in - shows link "anonymous".

How to hide it for anonymous users?

thanks a lot

Comments

Covercrosser’s picture

Menu per roles?

Anonymous’s picture

don't understand what you mean

Covercrosser’s picture

Module name - menu per role
It will do what you want.

Anonymous’s picture

thanks.

but when I use the token [current-user: name] in Commerce Kickstart distribution - it work fine. and there is no module "menu per role"

deanflory’s picture

Anonymous’s picture

in Commerce Kickstart distribution - it work fine. and there is no module "menu per role"

windsurfitaly’s picture

menu per roles has no influence on the visibility even if i've set link for friends using tokens hidden for anonymous and visib. for logged user, any suggestion? the link of the page result this site.com/user/not yet assigned/friends/all

ok i've resolved by setting the views of the flag friends module to authenticated user not using the default settings for roles per view

develcuy’s picture

Status: Active » Closed (works as designed)
Anonymous’s picture

Status: Closed (works as designed) » Closed (fixed)

Menu link title: [current-user:name]
Path: [current-user:url]
Method for Users: User from context