![]() |
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?
|
try - replace XX with the pageid
Code:
{if $main eq 'pages' and $page_data.pageid eq 'XX'}....{/if}Code:
{if $smarty.get.pageid eq "3"} |
| All times are GMT +8. The time now is 06:06 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.