Re: If statments....
Andy Varganov <[email protected]> Tue, 18 Nov 2003 19:58:59 +0000
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | xaraya org |
| Message-ID | <[email protected]> |
Doh! I should had checked NG before clicking send - two 'fast fingered' ppl already posted the answers :-) well, there are plenty of RL examples of how to do it in default templates anyway :) Andy Varganov wrote: > something like this? > > <xar:if condition="xarUserIsLoggedIn()"> > <!-- show welcome --> > <xar:else /> > <!-- show login info --> > </xar:if> > > ViperWeb Consulting wrote: > >> How do I do if starments in templates? >> >> I want it to show the login infor for people not loged in and a Welcome >> back for people loged in. > >