I have looked at apidoc of cmsms. The method ProcessTemplate of Class CMSModule is marked as deprecated. What method should be used instead of it?
vilkis
Is method ProcessTemplate deprecated?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Is method ProcessTemplate deprecated?
ProcessTemplate which grabs templates from the database is deprecated.
It is replaced with
$smart->fetch($this->GetDatabaseResource())
this allows you to take advantage of smarty caching (with a few more parameters to Fetch).
check out modules/News/action.detail.php
It is replaced with
$smart->fetch($this->GetDatabaseResource())
this allows you to take advantage of smarty caching (with a few more parameters to Fetch).
check out modules/News/action.detail.php
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.