My module registers a Content Type "MyType".
The page, created with content of "MyType" should display huge amount of data which is taken from Remote Database.
To make it simple, I prefer to have my own template which contains all the info, including MetaTags, footers, etc
under /modules/MyModule/template/ folder.
In other words I do not want that the template associated with that MyType Content Page to be loaded.
I looked in the module "Printing", and it uses this command to skip the associated template:
Code: Select all
$html = $smarty->fetch('template:notemplate') . "\n";
Since this approach does not work, I am forced to do it in the following way:
1. in the template associated with Page of MyType Content, I wrote ONLY this
Code: Select all
{content}
2. Then, my module's "default" action process the template form a .tpl file in /modules/MyModule/template/
This solution works the way I want, but I believe I am missing some features of CMSms system.
I would like to know how I could solve this issue using built-in CMSms functionality?
Thanks