Page 1 of 1
Custom Position for Banners Module
Posted: Mon Jul 25, 2011 9:17 am
by DrunkMunki
i've been searching the forums and cannot find the answer;
how can i make the banner module load in the header.tpl file so i can have the banner load on every page?
currently it only allows banners on the left,right, bottom and within the content box.
I went to System -> Design -> Layouts and created a "Header" Layout, but how do you use it?

Re: Custom Position for Banners Module
Posted: Wed Jul 27, 2011 6:25 pm
by DrunkMunki
no one? i thought this would be a big deal as it seems limited in locations for banners.
Re: Custom Position for Banners Module
Posted: Wed Jul 27, 2011 6:28 pm
by uksitebuilder
header is separate to the main page section
the main page section only can be affected by the layouts you create.
To place a banner in the header section, you will need to manually alter the template to put it there.
Re: Custom Position for Banners Module
Posted: Thu Jul 28, 2011 4:36 pm
by DrunkMunki
manually edit what? i tried looking around in the source files and there is no code to indicate a banner position, its injected during loading. would be nice to simply have
instead of having to mess with controller files?
or perhaps create a custom "layout" and user that layout code to load a banner position?
Re: Custom Position for Banners Module
Posted: Thu Jul 28, 2011 5:07 pm
by uksitebuilder
manually edit catalog/view/theme/default/template/common/header.tpl
there is no easy way to get the banners from the banners module in to the header other than manually coding the banner in the header template
Re: Custom Position for Banners Module
Posted: Thu Jul 28, 2011 7:16 pm
by Maansy
Manually? Yes will work also, but why not create a new position for banners and call it "header"
Contact Fido-X and I am sure he can code that for you.
Good luck
