Page 1 of 1

Re: Custom Module Upgrade

Posted: Wed Jun 18, 2014 10:32 am
by chandra
Have made a short look at the sources and you were right - they are really old style ;) . Minimum version for using this module is 0.11, current CMSMS version is 1.11.10. There are a lot of changes.

Think the first error is not module but Smarty related. Since version 3 Smarty is a lot more sensitive on mistyping inside content. So you have to check the content for a typo which can be misunderstood by Smarty.

Not sure what's better - get this old module work or rewrite the module completely. An additional way could be to move to a well developed module like ListIt2.

But on the low budget maybe only the first way is an option - till next big CMSMS version where it's possible module crashed again.

One thing you can do is replacing every

Code: Select all

 
global $gCms;


by

Code: Select all

 
$gCms = cmsms();