Originally Posted by
Jerry5763837
hi, Linda,
Could you please also help to check my problem
I just want to enable or disable certain sidebox (not whole left or right column)for certain pages,
for example, want to enable
subscribe sidebox on contact_us page
what i can do to achieve this? your suggestion would be highly appreciated. thanks.
Look at how the tell_a_friend sidebox is done where it says to not show on the tell a friend page ...
Code:
if (!($_GET['main_page']==FILENAME_TELL_A_FRIEND)) $show_tell_a_friend = true;
You can do something similar by adding a code like this to that sidebox ...
I have not used that so you will kind of have to wing it ... but that example may help you using something like:
Code:
if (($_GET['main_page']==FILENAME_CONTACT_US)) {
$show_your_variable_here = true;
} else {
$show_your_variable_here = false;
}
Then look at how the if surrounds the code as to whether or not it runs ...
Bookmarks