Hi
For zen cart 1.3.9b, I need to be able to show banner group three on the login page only. I've been searching the forum and web but haven't found just the right code solution to allow this.
I have tried different variations but no success.
To display on login page only:
altering this
PHP Code:
if ($this_is_home_page) {
to this
PHP Code:
if ($this_is_login) {
or this
PHP Code:
if ($this_is_login_page) {
doesn't work.
This next code works to disable banner group three on some pages but it seems the long way around plus I can't get it to work for the home page, ez pages or manufacturers filtering pages
PHP Code:
<?php
if (!in_array($current_page_base,explode(",",'site_map,product_reviews_info,privacy,account,products_all,products_new,specials,featured_products,shopping _cart,checkout_shipping,checkout_payment,checkout_ confirmation,checkout_success')) || ($this_is_home_page == 'false')) {
if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
if ($banner->RecordCount() > 0) {
?><div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}}}
?>
Please, any help would be appreciated.
buildingblocks