The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I'm just a novice coder and I can't seem to find an answer to this in Google or any of the XHTML sites, so please help.
Is there some bit of code that I could include in a vB3 template that would test if some particular file exists. Something like this: Code:
<If exist ("/path/to/foo.txt")>
do something
</if>
Thanks! |
|
#2
|
||||
|
||||
|
I would check in the phpinclude_start template, and set a variable.
Then, check that variable in whatever template you like with <if condition="$var == 1">//foo</if> |
![]() |
|
|