stx tube is using smarty template files, you can check the syntax or how is it used on the template source codes. Files are located at /templates/yourtheme/*.tpl. if you check the template sources of files such as navigation.tpl you can see that $action is the variable you are looking for. IE, {if !$action || $action == 'videos'} html code {/if} is html code to display for front page
Quote:
Originally Posted by Naughty-Pages
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! ;)
|
hit us up about this : )