I’m trying to show Flash content in the homepage only by inserting it in main.tpl (adding it from the admin section won’t work because it contains tags…)
I tried both:
[QUOTE]{*** if homepage - BEGIN ***}
[COLOR=“Red”]{if $content == “homepage”}[/COLOR]
....
[COLOR="red"][B]{/if}[/B][/COLOR]
{*** if homepage - END ***}[/QUOTE]
and:
[QUOTE]{*** if homepage - BEGIN ***}
[COLOR="red"][B]{if $current_url == "$index_script"}[/B][/COLOR]
....
[COLOR="red"][B]{/if}[/B][/COLOR]
{*** if homepage - END ***}[/QUOTE]
None of them worked. It'd be awesome if somebody could help with this.
btw, where is the [B]central.tpl[/B] file? I couldn't find it in 2.0...
I know I am going to sound like a broken record, but you can use the index:main_content hook so that your changes are not overwritten by future upgrades.