Page 1 of 1

CustomGS use with Smarty or UDT

Posted: Sat Sep 12, 2020 9:30 pm
by andrewvideouk
Hi Guys.

It's me or I can't use with Smarty, module or UDT when using CustomGS.
when I put a Smarty or UDT its just display the text '{cms_module module="CGCalendar"}' not the content been made by them. Smarty work fine in content pages.
Thank you

Cheers

Re: CustomGS use with Smarty or UDT

Posted: Sat Sep 12, 2020 9:34 pm
by DIGI3
Could you just eval it?

Code: Select all

{eval var=$CustomGS.test}

Re: CustomGS use with Smarty or UDT

Posted: Sat Sep 12, 2020 9:44 pm
by andrewvideouk
Wow. Thank you so much. That was so easy. You are star and reposed fast.

Thank you.

Re: CustomGS use with Smarty or UDT

Posted: Sun Sep 13, 2020 9:16 am
by Rolf
In case of a Text Area field in CustomGS you can use the checkbox "Parse data by Smarty" at the Field Definitions page.

Re: CustomGS use with Smarty or UDT

Posted: Mon Sep 14, 2020 12:05 pm
by andrewvideouk
Thank you. I saw the "Parse data by Smarty" didn't know it's was and forgotten all about after I setup the all fields. I will give a try. Its would make my template a bit more cleaner. lol The {eval var=$CustomGS.test} works great,