Page 1 of 1

Re: module tags not working in new module

Posted: Tue Jul 09, 2013 9:43 am
by Reanimator
I have the same question!
Please answer!

Re: module tags not working in new module

Posted: Tue Jul 09, 2013 7:57 pm
by Dr.CSS
Please upgrade to the latest version of CMSMS...

Re: module tags not working in new module

Posted: Wed Jul 10, 2013 12:07 pm
by Reanimator
I have another question.
I'm writing a module similar to inside module "global content blocks", but with advanced functionality. Is it possible to parse all of the tags? At this moment I parse the internal tags like cms_selflink, print and another, but not the modules tags, such as "search", "menu" and etc.

Re: module tags not working in new module

Posted: Tue Aug 27, 2013 12:13 pm
by psy
Yes, upgrade and sometimes within templates you cannot use the shorthand form, eg {menu}. You have to use the longhand format, eg {cms_module module='Menu' ....}

Re: module tags not working in new module

Posted: Tue Aug 27, 2013 12:34 pm
by guro
This problem was solved in Russian discussion (http://forum.cmsmadesimple.org/viewtopi ... 27&t=67176).

It was required to change the call "ProcessTemplate"

Code: Select all

echo $this->ProcessTemplateFromDatabase($tpl_name);