Hi,
Question: I am wondering if anyone has worked out how to show or hide an item in a pagesetter template based on the URL.
Background: i have a 'multisites' postnuke site with two sub domains. (dont worry if you are not familiar with multisites, it is not directly associated with this question) - both sites share the same database, postnuke source & pagesetter templates. that much is working fine.
Specific: what i want to work out is; how to show or hide a link (url) based on what domain is accessing the template.
i.e:
http://sub1.domain.com.au/index.php?module=pagesetter&tid=8
or
http://sub2.domain.com.au/index.php?module=pagesetter&tid=8
with an if/else statement similar to this:
<!--[if $core.fullURL?? !=""]-->
<a href="<!--[$core.fullURL]-->">Link</a>
<!--[else]-->
<!--[/if]-->
i looked at manipulating 'pngetbaseurl' & 'core.fullURL' with smarty escapes to try to get it to work but i think i missed something obvious.