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

XF 1.3 (SOLVED) IF Statement

Discussion in 'XenForo Questions and Support' started by Iomega0318, May 10, 2014.

  1. Iomega0318

    Iomega0318 Member

    So just curious, I want to modify a mod slightly because the wording of it annoys the crap out of me.. SO I was wondering, can I add an IF statement to it.. The file would be the template I would like to add it to, for example I would want something similar to this:

    if {$threadsCount} >=1
    blah blah blah
    blah blah
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Have you asked the developer of the add-on.

    Without knowing the add-on code or what you are trying to do, it's difficult to give any advice.
  3. Iomega0318

    Iomega0318 Member

    I'm just curious if an IF statement would actually work in a template file. I wouldn't be changing any of his PHP code or anything, and as of right now the developer of said mod is currently busy with real life.

    Never mind, think I answered my own question with Google :)
    Odd since I couldn't find it before but I kept searching..
    Last edited: May 10, 2014

Share This Page