![]() |
only show if on one static page
i want to have a banner show up in the left bar of my site if the user is one one specific static page, what 'if' statement do i need to put into my left_bar.tpl template to have the banner show if the user is only on that one specific page?
|
Re: only show if on one static page
try - replace XX with the pageid
{if $main eq 'pages' and $page_data.pageid eq 'XX'}....{/if} |
Re: only show if on one static page
worked it out:
{if $smarty.get.pageid eq "3"} banner here {/if} |
Re: only show if on one static page
or:
{if $main eq 'pages' and $page_data.pageid eq 'XX'}....{/if} also works as stated above! |
All times are GMT -8. The time now is 10:27 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.