Greetings,
I am trying to use cms code block to insert CMS static blocks from magento.
I created a static block in magento as you see here:
then I inserted a cms code block in themler with this code:
<?php $store?>getStore()->getCode();
if($Store == "it"){
$staticBlock = Mage::getModel('cms/block')->load('products_free_ship_IT');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
elseif($Store == "en"){
$staticBlock = Mage::getModel('cms/block')->load('products_free_ship_EN');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
else {
$staticBlock = Mage::getModel('cms/block')->load('products_free_ship_EN');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
?>
All is ok but the image is not appearing nor in themler backend nor in frontend site
http://test.kokomamas.it
Do you have any idea how to fix this?
Regards
Marco
Greetings,
I am trying to use cms code block to insert CMS static blocks from magento.
I created a static block in magento as you see here:
!cms-image-in-block.jpg!
then I inserted a cms code block in themler with this code:
<?php $store?>getStore()->getCode();
if($Store == "it"){
$staticBlock = Mage::getModel('cms/block')->load('products_free_ship_IT');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
elseif($Store == "en"){
$staticBlock = Mage::getModel('cms/block')->load('products_free_ship_EN');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
else {
$staticBlock = Mage::getModel('cms/block')->load('products_free_ship_EN');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
?>
All is ok but the image is not appearing nor in themler backend nor in frontend site
http://test.kokomamas.it
!image-in-cms-block-magento.jpg!
Do you have any idea how to fix this?
Regards
Marco
Vote to pay developers attention to this features or issue.