Magento templates designed for Magento 1.4.0 should have no compatibility issues with 1.4.1, but if you've recently converted your Magento 1.3 template to be compatible with Magento 1.4.0, you may find that your template no longer works in Magento 1.4.1
Of course, there's no way to address all of the particular issues of converting every custom template, but for most common templates, following the steps below should have your site up and running again in no time!
If you're trying to convert a Magento 1.3 template to 1.4.1, follow the steps on these helpful web design blog articles and then return for these further instructions: 1. Upgrading To Magento 1.4 2. JavaScript References 3. Pagination
1) Open the file /app/design/frontend/default/YOURTEMPLATE/layout/page.xml
2) Find this code (about line 38):
<action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>3) Add this code directly under it:
<action method="addJs"><script>lib/ccard.js</script></action>4) Find this code (about lines 64 - 92):
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" /> <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/> <block type="page/html_header" name="header" as="header"> <block type="core/text_list" name="top.menu" as="topMenu"/> </block> <block type="page/template_links" name="top.links" as="topLinks"/> <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/> <block type="core/text_list" name="left" as="left"/> <block type="core/messages" name="global_messages" as="global_messages"/> <block type="core/messages" name="messages" as="messages"/> <block type="core/text_list" name="content" as="content"/> <block type="core/text_list" name="right" as="right"/> <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml"> <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/footer_links.phtml"/> </block> <block type="core/text_list" name="before_body_end" as="before_body_end"/> </block> <block type="core/profiler" output="toHtml"/>5) Replace it with this code:
<block type="core/text_list" name="after_body_start" as="after_body_start"/> <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" /> <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/> <block type="page/html_header" name="header" as="header"> <block type="core/text_list" name="top.menu" as="topMenu"/> </block> <block type="page/template_links" name="top.links" as="topLinks"/> <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/> <block type="core/text_list" name="left" as="left" translate="label"> <label>Left Column</label> </block> <block type="core/messages" name="global_messages" as="global_messages"/> <block type="core/messages" name="messages" as="messages"/> <block type="core/text_list" name="content" as="content" translate="label"> <label>Main Content Area</label> </block> <block type="core/text_list" name="right" as="right" translate="label"> <label>Right Column</label> </block> <block type="page/html_footer" name="footer" as="footer" template="page/html/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 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"/> </block> <block type="core/text_list" name="before_body_end" as="before_body_end"/> </block> <block type="core/profiler" output="toHtml" name="core_profiler"/>6) Save and upload the file, then refresh Magento's cache via System > Cache Management
That should do it! Of course, some custom templates may pose individual challenges not covered by this post, so if you have further difficulty with your upgrade, go to Magento Expert and get quick answers to your Magento questions from real Magento experts.


