Create A Menu And Make It Hidden From Logged-In Users?


how create a menu and make it hidden from logged-in users?

i will use example Top Menu


Your question is not clear. You want it to display when a user is NOT logged in and hidden when they are? If so, find the block that is displaying your menu and surround it with:


{if !$auth.user_id}

All the menu code here


Cant remember if this behaviour was native to CS or an addon. BUT

go into the block settings for the meno block and make it visible to guests and not registered customer

but this was an addon back when

Please pay attention to our module as well

this works well for me