CustomGS use with Smarty or UDT Topic is solved

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
andrewvideouk
Forum Members
Forum Members
Posts: 156
Joined: Thu Aug 20, 2020 10:49 pm

CustomGS use with Smarty or UDT

Post 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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1825
Joined: Wed Feb 25, 2009 4:25 am

Re: CustomGS use with Smarty or UDT

Post by DIGI3 »

Could you just eval it?

Code: Select all

{eval var=$CustomGS.test}
Not getting the answer you need? CMSMS support options
andrewvideouk
Forum Members
Forum Members
Posts: 156
Joined: Thu Aug 20, 2020 10:49 pm

Re: CustomGS use with Smarty or UDT

Post by andrewvideouk »

Wow. Thank you so much. That was so easy. You are star and reposed fast.

Thank you.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CustomGS use with Smarty or UDT

Post 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.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
andrewvideouk
Forum Members
Forum Members
Posts: 156
Joined: Thu Aug 20, 2020 10:49 pm

Re: CustomGS use with Smarty or UDT

Post 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,
Post Reply

Return to “Modules/Add-Ons”