ha haa,
I installed a mod and it works fine.
PHP Code:
<?php
$content = '';
// if no active banner in the specified banner group then the box will not show
if ($banner = zen_banner_exists('dynamic', $banner_box_group)) {
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_display_banner('static', $banner);
$content .= '</div>';
}
?>
Above is the code with out the cloud tag module from MagneticOne Team. Those guys are totally cool by the way.
My problem is I'm not really a php guy and when I take what you've done and insert it into the code I'm getting a parsing error. Below is an example how I would be placing it.
PHP Code:
<?php
$content = '';
// if no active banner in the specified banner group then the box will not show
if ($banner = zen_banner_exists('dynamic', $banner_box_group)) {
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_display_banner('static', $banner);
$content .= '</div>';
}
// test if box should display
$show_banner_box2 = true;
if (SHOW_BANNERS_GROUP_SET8 == '') {
$show_banner_box2 = false;
}
// do not show if on advanced_search page
if ($current_page_base == 'advanced_search') {
$show_banner_box2 = false;
echo 'I am hiding!!' . $current_page_base;
}
if ($show_banner_box2 == true)
{ // this doesn't seem right??? this is where I'm lost.
?>
I have read the tutorials on how to have them x out of easy pages. As well as hide left nav and right nav for main pages tutorial but I need something that will hide a sidebox on the
Advanced_Search page. I actually want to hide Banner Box 2 which is where I placed my Cloud Tags Mod. So I'd like to be able to customize the Cloud Tags mod for each page. Show or don't show.
I'm lost though, need you guys help and I love zen-cart, I'm having fun with it. S.O.S...
New Zen-mister!
http://www.computerbros.com