[SOLVED] CGContentutils - content block data not parsed

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
leximus
Forum Members
Forum Members
Posts: 51
Joined: Fri Oct 20, 2006 8:57 pm

[SOLVED] CGContentutils - content block data not parsed

Post 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
Last edited by leximus on Mon Oct 12, 2015 5:23 pm, edited 2 times in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGContentutils - content block data not parsed

Post by Rolf »

Assign the block to a string and use "eval" to display it
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
leximus
Forum Members
Forum Members
Posts: 51
Joined: Fri Oct 20, 2006 8:57 pm

Re: CGContentutils - content block data not parsed

Post by leximus »

Perfect, it works. I Could have thought of it... Thanks for your fast reply!
Post Reply

Return to “Modules/Add-Ons”