Replacing the footer block

Please LogIn to Reply!

Post By: admin | 26-01-2012 06:35 Reply

 

I am a relative novice where Magento is concerned. That said, I would like to replace the default footer block. I have created a local.xml file under my local theme in the directory app/design/frontend/default/<mytheme>/layout containing the following:-

<?xml version="1.0" encoding="UTF-8"?>

<layout>
<default><!-- Remove callouts and rarely used stuff -->
<remove name="right.poll"/>
<remove name="right.permanent.callout"/>
<remove name="left.permanent.callout"/>
<remove name="footer"/>
<block type="page/html_footer" name="ll_footer" as="ll_footer" template="page/html/ll_footer.phtml">
<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>
</block>

<!-- add the local stylesheet -->
<reference name="head">
<action method="addCss">
<stylesheet>css/local.css</stylesheet>
</action>
</reference><
/default>
</layout>

I have coded a new footer block template called ll_footer.phtml and placed it in the app/design/frontend/default/<mytheme>/template/page/html directory. I have uploaded my local.css file to skin / frontend / default /<mytheme>/css directory.

The phtml and css appear as they should on my own computer but when uploaded (with cache flushed) it is the default footer block that appears rather than my customised footer.

Any help would be very welcome !

 

Hope you have entered new theme name in backend ?

 Signature 

Thanks,
jpk

`Reply Or Comment!
Please LogIn to Reply!