Quote:
Originally Posted by Mr. Stiff
Does STX use regular .php files for templates?
if so, just add something like:
<?php if($_SERVER['REQUEST_URI'] == '/') { ?>
.... footer links for homepage only ...
<?php } ?>
|
It uses .tpl files and the php is that "smarty" stuff, which was throwing me off.. but what you had there worked!
The only thing is, if there are multiple includes, they each need to be done separately.
In case anyone else runs into this issue, this was the code for STX Tube to resolve the site-wide links (this sample snippet is for multiple includes):
Code:
{php}if($_SERVER['REQUEST_URI'] == '/')
include("FULL PATH TO FILE");{/php}
{php}if($_SERVER['REQUEST_URI'] == '/')
include("FULL PATH TO FILE");{/php}
{php}if($_SERVER['REQUEST_URI'] == '/')
include("FULL PATH TO FILE");{/php}
Thanks Mr. Stiff, Fris, everyone! ;)
See? GFY isn't just for trolls.. ;)