I have 3 sub-domains and would like to use different analytics code.
Could you please help me. How do I make working this code?
{if $site == "site1.domain.com" or $site == "site1"}
{g->theme include="site1_analytics.tpl"}
{elseif $site == "site2.domain.com" or $site == "site2"}
{g->theme include="site2_analytics.tpl"}
{else}
{g->theme include="else_analytics.tpl"}
{/if}
Thanks a lot!
Posts: 8339
you must first define your $site variable:
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 22
Thanks a lot!
http://wedding.malenko.com