XF 1.3 (SOLVED) IF Statement

Iomega0318

Member
Licensed customer
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
else
blah blah
 
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.
 
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.

**EDIT**
Never mind, think I answered my own question with Google :)
Odd since I couldn't find it before but I kept searching..
http://xenforo.com/community/resources/template-syntax-xenforo-tags.2122/
 
Last edited:
Back
Top Bottom