I have the same question!
Please answer!
module tags not working in new module
- Reanimator
- Forum Members
- Posts: 14
- Joined: Tue Jul 09, 2013 9:12 am
Re: module tags not working in new module
Please upgrade to the latest version of CMSMS...
- Reanimator
- Forum Members
- Posts: 14
- Joined: Tue Jul 09, 2013 9:12 am
Re: module tags not working in new module
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.
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
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
This problem was solved in Russian discussion (http://forum.cmsmadesimple.org/viewtopi ... 27&t=67176).
It was required to change the call "ProcessTemplate"
It was required to change the call "ProcessTemplate"
Code: Select all
echo $this->ProcessTemplateFromDatabase($tpl_name);