Use UDT in module tpl-files

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
Freud
Forum Members
Forum Members
Posts: 53
Joined: Fri Jun 12, 2009 6:45 pm
Location: Schipluiden

Use UDT in module tpl-files

Post by Freud »

In cmsms 1.9.4.3 I sometimes used an UDT in a module templatefile (.tpl) to pass some extra smartyvars to the backend page.
Now using cmsms 1.11.2.1 I noticed that's not possible anymore. The result is a blank screen, even when there is nothing special in the UDT.
Can someone tell me what is the cause of that, and maybe suggest a solution or workaround?
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Use UDT in module tpl-files

Post by Jos »

Will be fixed in CMSms version 1.11.3 as I have read here: http://forum.cmsmadesimple.org/viewtopi ... =1&t=63941
User avatar
Freud
Forum Members
Forum Members
Posts: 53
Joined: Fri Jun 12, 2009 6:45 pm
Location: Schipluiden

Re: Use UDT in module tpl-files

Post by Freud »

Unfortunately, an upgrade to 1.11.3 did not solve the problem.
Still a 'blank screen' when I place an UDT in a tpl file.

Adminlog showes the following error:
ERROR DETECTED: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "module_file_tpl:News;editarticle.tpl" on line 1 "{test}" unknown tag "test"' in /var/www/vhosts/...

Anyone have an idea?
Post Reply

Return to “Modules/Add-Ons”