Need to move bottom spotlight from individual pages to footer

I have made some minor changes to the bottom spotlight section of the template. This is required for my installation for both styling and functionality purposes.

Rather then having to update all the different page configurations here:

I was hoping to move the bottom spotlight section to the footer template which is common across all pages.

When I do this bottom spotlight no longer appears. All the html appears however the following code no longer returns any of the child elements.



I then tried to update the xml layout by placing the ‘botsl1’ within the footer block; however this resulted in a white screen.

Would you please be able to advise me how I go about moving the botsl1 into the footer template?

I really appreciate your help.


2 answers

Profile photo of Saguaros 0.00 $tone September 10, 2012

Hi JD,

Please try to open file page.xml like above and place ‘botsl1’ block inside footer block like this:

PHP Code:

<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
block type="core/text_list" name="botsl1" as="botsl1" translate="label">
label>Bottom Spotlight 1</label>
block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
label>Page Footer</label>
action method="setElementClass"><value>bottom-container</value></action>
block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>

THen you need to style again for this block.



This question is now closed

Written By