Guest Nav

Post

Posted
Rating:
#3355 (In Topic #659)
Joe

How to display menu items to guests and not members

The documentation states to use _never_ to display a menu item to a member but not a guest.

I want to do the exact opposite – display a link to guests but not a member

I've tried a few variations below but none work:

|

I also can't find any documentation on _never_ or alternative options to use in that inline IF test.

I tried using ,_always_}, but this doesn't show for members or guests, so I imagine _always_ doesn't exist.

Post

Posted
Rating:
#3356
{$?,{$NOT,{$IS_GUEST}},_never_} should actually work.
I'll run some tests when I get a chance.

This technique is a fudge. There's no such thing as "_never_". What is actually happening is the conditional logic is outputting a match-key that will never pass (_never_).

Post

Posted
Rating:
#3358
Joe
Sorry Chris, but it seems to be working now. Maybe I misspelled something when I tried it!

Thanks!
0 guests and 0 members have recently viewed this.