Magento

eCommerce Software for Online Growth

Magento Forum

From setting up your store to managing your products, pages and promotions to generating detailed reports, the Magento User Guide empowers the user to utilize the platform for all of its vast capacity.
Available in eBook and Print formats – Download Now!!!
   
Layout Update XML - overwrite custom block
 
MartinaL
Member
 
Total Posts:  72
Joined:  2008-03-31
 

I have a custom block which I am displaying on my homepage and it displays a flash banner, now I have 2 stores and on each store I want to show a different flash file in this area and I have been trying to use the Layout Update XML field on the CMS homepage for the second site to set a different file.

This is the current code I have in the page.xml file which sets it up;

<block type="page/html_banner" name="banner" as="banner">
                <
action method="setBanner"><banner>images/flash/banner_2.swf</banner><alt>Want something fresh for summer?</alt></action>
            </
block>

I have tried added this same code to the Layout Update XML field but with a different banner image url but the same image still displays on both homepages?

 
Magento Community Magento Community
Magento Community
Magento Community
 
x4hai
Jr. Member
 
Total Posts:  16
Joined:  2008-09-19
 

I use FreeCMS. You can see it here: http://demo.hello-magento.com/freecms/electronics.html
---

 Signature 

--
Life is too short to waste!
High quality Magento Themes & Magento Extension by Mage-World

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2010 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
275571 users|1263 users currently online|346207 forum posts