0

I'm trying to add widget to cms block or page but when i add it only display short code on page and not render, i tried different magento default widgets results is same

enter image description here

also tried using code on phtml template

echo $this->getLayout()->createBlock('cms/block')->setBlockId('home-top-cms')->toHtml()

But it also gives same results.

also checked by adding block type to system permission but still no luck, anyone know how fix this issue please

2
  • It could be theme related. Have you checked with magento's default theme? Apr 15, 2020 at 5:58
  • 1
    So after investigating, it looks like the new magento is throwing out your old layout, and using it's own. you was able to copy/paste the block code into the 2columns-right.phtml and it is working as it should now. link :- community.magento.com/t5/Magento-1-x-Technical-Issues/… Apr 18, 2020 at 12:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.