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

Bad Syntax

Discussion in 'XenForo Questions and Support' started by kingston, Feb 16, 2011.

  1. kingston

    kingston Well-Known Member

    I am trying to tell something to not show on Jaxel's portal mod, so I put this IF statement in front of it. Something is syntactically wrong. What did I do?

    <xen:if !="{EWRporta_Portal"}>
     
  2. Trombones13

    Trombones13 Well-Known Member

    Shouldn't the closing quotation mark be after the curly brace?
    <xen:if !="{EWRporta_Portal}">
     
  3. kingston

    kingston Well-Known Member

    Hah, yes. I retyped it here and made that mistake. This is what I was trying to save:
    <xen:if !="{$EWRporta_Portal}">

    But thank you for catching my bad syntax in my example!
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    kingston likes this.
  5. kingston

    kingston Well-Known Member

Share This Page