The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Advertising Banner System (http://www.thevbgeek.com/forumdisplay.php?f=28)
-   -   Can I put text right below a banner ad? (http://www.thevbgeek.com/showthread.php?t=1930)

atcNick 08-16-2006 05:41 PM

Can I put text right below a banner ad?
 
Is there a way to ad text directly below a banner ad?

I want to do this for a particular banner but I have this banner ad set to only show in one forum. So adding the text underneath $GAB_ads[0] in the template doesnt seem to work as the text will appear everywhere. I only want it to show up under the banner when it is displayed.

Thanks.

Nick

The Geek 08-16-2006 05:44 PM

You could use a template conditional. That would be the easiest. Something like:

<if condition="$ad[id]==(INSERT AD ID HERE)">here is some text</if>

HTHs

atcNick 08-16-2006 06:58 PM

Do I add this in the template? I entered in the template and it doesnt seem to work. Is this the correct entry:

$GAB_ads[0]
<br>
<if condition="$ad[id]==(10)">here is some text</if>


10 is the ID of that banner ad

The Geek 08-16-2006 08:25 PM

without the parentheses

<if condition="$ad[id]==10">here is some text</if>

atcNick 08-17-2006 03:51 AM

thats not working either.

The Geek 08-17-2006 07:47 AM

You sure you have the ad id right? Make sure its in the GAB_item_image template

atcNick 08-17-2006 01:20 PM

I had it in the wront template. That works. Thanks Geek.


All times are GMT. The time now is 04:07 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.