Quote:
Originally Posted by ozzy47
Code:
<vb:if condition="THIS_SCRIPT == 'adv_index'">
add code here
</vb:if>
Same place where you put the banner code. Then it should only show on that page.
|
Is there a difference between this code and the code you posted in post 4? It looks the same to me.
I am using the code you posted in post 4 and it did what I wanted it to i.e display banners on all pages EXCEPT the home page.
Now I want to put banners on the home page as well but different from the ones that are currently on all other pages.
For example,
When you go to mysite.com, you will see vBAdvanced CMPS home page and banner A there.
Then you go to mysite.com/forum, you will see the forum and banner B, banner C there.
This is what I want to do.
Currently there are banner B and C on mysite.com/forum and there is nothing on the home page (since I put that code of yours). But now I want to display banner A on the home page.
Do you understand what I'm trying to do?