Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easytemplate works not with CMS block widget instance #58

Open
gfobe opened this issue Jun 28, 2017 · 2 comments
Open

Easytemplate works not with CMS block widget instance #58

gfobe opened this issue Jun 28, 2017 · 2 comments

Comments

@gfobe
Copy link
Contributor

gfobe commented Jun 28, 2017

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
Copy link
Contributor Author

gfobe commented Jun 28, 2017

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
Copy link
Contributor Author

gfobe commented Jul 17, 2017

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

gfobe pushed a commit to gfobe/EasyTemplate that referenced this issue Jul 17, 2017
gfobe pushed a commit to gfobe/EasyTemplate that referenced this issue Jul 17, 2017
tobi-pb added a commit that referenced this issue Aug 21, 2017
#58 also support CMS block widgets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant