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

{xen:if} tag question...

Discussion in 'XenForo Development Discussions' started by Mr. Goodie2Shoes, Sep 5, 2012.

  1. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    okay so I am trying
    Code:
    {xen:if $condition == 'blah', 'Hello!', ''}
    but its not working... any other workaround?
     
  2. xfrocks

    xfrocks Well-Known Member

    Should be

    Code:
    {xen:if '{$condition} == "blah"', 'Hello!'}
     
    Mr. Goodie2Shoes likes this.
  3. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    oops :D Thanks!
     

Share This Page