Page 1 of 1

Question about template in Listit2

Posted: Thu May 31, 2012 3:17 pm
by jackgittes
Hi there,

I am using the ListIt2 module a lot. But I run into a small issue. I have a few custom fields and one of that fields is a text area with the WYSIWYG editor enabled. In my template I call for the field like this:

{$item->fielddefs.lange_omschrijving.value|cms_escape}

The problem is that the HTML code in the text area (like the <p> tag) converts to 'readable text'. So on my site I see the HTML code. Is there a way of doing this the right way? I guess I have to define the field call differntly?

Regards,

Jan

Re: Question about template in Listit2

Posted: Thu May 31, 2012 5:55 pm
by Dr.CSS
Did you try the call w/o the |cms_escape?...

[SOLVED] Re: Question about template in Listit2

Posted: Thu May 31, 2012 8:42 pm
by jackgittes
Ah. That's the trick.

Thanks!

Re: Question about template in Listit2

Posted: Fri Jun 01, 2012 2:32 am
by Dr.CSS