conditional commands in modules / wiki
I found user modules for a menu system, and used the following command in it:
{if $user}
{else}
[ tiki-login.php | login ]
{/if}
This provided a "login" option if the user is not logged in.
Where do I find documentation on this feature? I've found that $group works as well, what other variables are available there?
Secondly, where can this type of structure be used? I've since replaced my menu structure on this site to use the menupage module, to make it easier for my users to edit it and avoid getting them into the "module" section of the site (too easy to mess things up by clicking the wrong thing there .. if it's just editing a wiki page that's something that anyone can do, and if they mess it up, I can restore the functionality pretty easily)
It would be nice to have conditional options using the menupage structure, but if I put that code (if / else / /if), the code shows up on the page rather than being interpreted.
Thanks!
Norm Fisher