Hello,
I'm trying to add a static block displaying contact information to my homepage for 4 different Store Views.
I have inserted the following code to "home.phtml":
<?php echo $storeId = Mage::app()->getStore()->getStoreId();
if($storeId == '14')
{ echo $this->getLayout()->createBlock('cms/block')->setBlockId('home-center-contact')->toHtml();
} ?>
<?php echo $storeId = Mage::app()->getStore()->getStoreId();
if($storeId == '15')
{ echo $this->getLayout()->createBlock('cms/block')->setBlockId('home-center-contact')->toHtml();
} ?>
<?php echo $storeId = Mage::app()->getStore()->getStoreId();
if($storeId == '16')
{ echo $this->getLayout()->createBlock('cms/block')->setBlockId('home-center-contact')->toHtml();
} ?>
<?php echo $storeId = Mage::app()->getStore()->getStoreId();
if($storeId == '18')
{ echo $this->getLayout()->createBlock('cms/block')->setBlockId('home-center-contact')->toHtml();
} ?>
However, at https://beaconbingo.kellyseye.com/ the only content displaying is the Store ID "14", at https://cashino.kellyseye.com/ I can see the Static Block and the Store ID, at https://tanexpress.kellyseye.com/ and https://merkurengineering.kellyseye.com/ I can see the Static Block surrounded by multiple Store ID's.
Why is this?



