1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

'Some code' only visible to guest users.

Discussion in 'Styling and Customization Questions' started by Mt.Rev, Jan 3, 2012.

  1. Mt.Rev

    Mt.Rev Member

    Is there a way to only have a part of a code only visible to guest users?

    Useful for ads or reminders to register and such.
  2. Lycaon

    Lycaon Well-Known Member

    Brogan has made a list of conditionals.

    <xen:if is="!{$visitor.user_id}">
    This content will show to guests
    Mt.Rev likes this.
  3. Vincent

    Vincent Well-Known Member

    I think he's talking about only showing part of what's between the [CODE][/CODE] tags to the guests, not the full content of what's between.

    If that is what the OP means, this is not (yet) possible.
  4. Mt.Rev

    Mt.Rev Member

    I'm sorry, I guess I should had been more clear about what I wanted, but Doctor posted exactly what I was looking for.
    Vincent likes this.

Share This Page