Page 1 of 1

[SOLVED] CGContentutils - content block data not parsed

Posted: Mon Oct 12, 2015 4:38 pm
by leximus
Hi,

I'm using CGContentutils to create content blocks. I'm calling the content blocks ass suggested like {content_module module='CGContentUtils' block='kol2_inhalt'}
The content is showing up correctly, but any smarty I enter isn't parsed, so the code just shows up. Any HTML in the content block is parsed correctly, just the Smarty remains untouched.
The content blocks are text areas, wysiwyg is turned off.

When I'm adding a content block using the {content block=...} tag, all smarty is parsed correctly, but I'd prefer using CGContentutils.

Using Cms Version: 2.0.1.1 and CGContentUtils: 2.1

What could I be doing wrong?

Thanks for your help!

Lex

Re: CGContentutils - content block data not parsed

Posted: Mon Oct 12, 2015 5:06 pm
by Rolf
Assign the block to a string and use "eval" to display it

Re: CGContentutils - content block data not parsed

Posted: Mon Oct 12, 2015 5:22 pm
by leximus
Perfect, it works. I Could have thought of it... Thanks for your fast reply!