webguys-de / EasyTemplate

42 stars 13 forks source link

Easytemplate works not with CMS block widget instance #58

Open gfobe opened 7 years ago

gfobe commented 7 years ago

If I have a CMS -> WidgetInstance and choose there to add a static block (configured using Easytemplate) e.g. to home page, only the HTML of the normal Magento block appered, not the Easytemplates. This is because in app/design/frontend/base/default/template/cms/widget/static_block/default.phtml there is $this->getText() instead of calling toHtml().

gfobe commented 7 years ago

Workaround: Use another static block as Man in the middle: widget -> static block (using {{block type="cms/block" block_id="easytemplateblock"}} ) -> easytemplateblock having Easytemplate enabled.

gfobe commented 7 years ago

Same problem appears when you use the block widget of WYSIWYG editor.