![]() |
how to show item on one page only
Hello,
I recently added the login information to the header, but I only want it to display on the home page (adv_index). I know how to get it to NOT display on this page, but how do I go about showing it here only? Thanks! |
Post the condition you are using and we can fix it for you.
|
Here's what I added, also I'm putting it in the Ad Placement template.
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="80%" align="center"> |
I don't see any conditions around that code to only make it not show on one page. That is the code I was talking about.
|
Oh, sorry I misread. This is what I was using:
Code:
<if condition="THIS_SCRIPT != 'index'"> |
If you look at the top of the php page you do want to display it on, does it have a line like this:
Code:
define('THIS_SCRIPT', 'adv_index'); Code:
<if condition="THIS_SCRIPT == 'adv_index'"> |
That did it, thanks for your help!
|
All times are GMT. The time now is 02:20 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:
|