![]() |
Ho to show ads only on CMS index page?
Hi,
i want to show Wallpaper Ads on my frontpage: CMS: domain.tld Forum: domain.tld/forum/ If i use: <vb:if condition="THIS_SCRIPT == 'vbcms'">CMS</vb:if> The Wallpaper Ad is on every CMS Page, every article. But i want only to show the wallpaper on CMS index page. Any idea how to do this? |
No Idea?
Is there no condition available to choose only cms index page? |
I think you can use $_GET['r'] == 1 to be the first page.
|
Lynne, any chance of elaboration on this?
I'm after the same thing as the OP, but can't understand how I would use your code to implement anything. |
To only put something on the very first page, put a condition around it like this:
HTML Code:
<vb:if condition="$_GET['r'] == '1-home-page-one' OR !$_GET['r']">hello</vb:if> |
All times are GMT. The time now is 01:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|