Try the Demo

Magento

eCommerce Software for Online Growth

Magento Forum

Our new hosted solution for small & emerging businesses
   
Layout Update XML - overwrite custom block
 
MartinaL
Member
 
Total Posts:  74
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 2012 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
713669 users|793 users currently online|495354 forum posts