Forums / Basic Configuration / remove "Wide-Banners" from login and checkout pages

remove "Wide-Banners" from login and checkout pages

Locked

Started by frank18 on 9 Jan 2008, 3:03 AM · Views: 2,586

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Jan 2008, 3:03 AM
#1
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

remove "Wide-Banners" from login and checkout pages

I would like to remove the wide banners from my login and checkout pages only (don't want customers to be distracted).

I have achieved to remove the sideboxes and the footer from these pages (modified my custom "tpl_main_page.php" as per suggestions) but can't get rid of the banners using the same method.

Please visit the login page at frNT.org Online Store to see what I mean

Can anyone help please? :huh:

Thanks / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Jan 2008, 3:43 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: remove "Wide-Banners" from login and checkout pages

Same file look for <!--bof- banner #6 display -->

Zen-Venom Get Bitten

9 Jan 2008, 3:57 AM
#3
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: remove "Wide-Banners" from login and checkout pages

thanks kobra,

have looked at this one but not sure how to translate this code

if (in_array($current_page_base,explode(",",'login,create_account,checkout_shipping,checkout_payment,checkout_confirmation')) ) {

$flag_disable_footer = true;

}

into the removal of banner 6.

any help is much appreciated

cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Jan 2008, 4:11 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: remove "Wide-Banners" from login and checkout pages

Yep, done it - thanks a lot

frNT.org Online Store

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Jan 2008, 11:28 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: remove "Wide-Banners" from login and checkout pages

Do you mind posting your solution for others that might find this in searching

Zen-Venom Get Bitten