Question about template in Listit2

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jackgittes
Forum Members
Forum Members
Posts: 23
Joined: Mon Sep 28, 2009 9:04 pm

Question about template in Listit2

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Question about template in Listit2

Post by Dr.CSS »

Did you try the call w/o the |cms_escape?...
jackgittes
Forum Members
Forum Members
Posts: 23
Joined: Mon Sep 28, 2009 9:04 pm

[SOLVED] Re: Question about template in Listit2

Post by jackgittes »

Ah. That's the trick.

Thanks!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Question about template in Listit2

Post by Dr.CSS »

Post Reply

Return to “Modules/Add-Ons”