hey guys,
I'm wondering how to make my modules backward-compatible to CMSms < 1.10. As SetParameters() method shouldn't be used to register routes anymore, I either have to distribute a version of my module for each the "old" CMSms and 1.10. Any suggestions?
SetParameters deprecated in 1.10
Re: SetParameters deprecated in 1.10
I asked Calguy1000:Foaly* wrote:As SetParameters() method shouldn't be used to register routes anymore
SetParameters() is deprecated, but it still works in 1.10
So no problem at this moment.
Hope this helps.
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Forum Members
- Posts: 15
- Joined: Mon Apr 11, 2011 7:33 am
Re: SetParameters deprecated in 1.10
This works for me: after re-crafting module initialization for 1.10
Code: Select all
//setup for pre-1.10
function SetParameters()
{
$this->InitializeAdmin();
$this->InitializeFrontend();
}