[SOLVED] $this->CreateLink in new version
Posted: Fri Dec 05, 2008 12:49 pm
Umm like yeah...
In so many ways I have loved CMS Made Simple because, well, it helps create websites for clients.
However, EVERY time there is a version change.
JESUS TAP DANCING CHRIST do you have to change the fundamental underlying code?
As I go from 1.4 to 1.5
EVERY WHERE I have some sort $this->CreateLink(
I get screwed!!!
Here is how an old link looks and AMAZINGLY the new module API STILL works!!!! Fix IT!
moduleinterface.php?mact=modulecreator,m1_,reset,0&_s_=82833b88
here is the code that used work very well:
header( "Location: ".$this->CreateLink( $id , 'defaultadmin' , $returnid , '' , '' , '' , true ) );
or
What is _s_?
Apparently now instead of mact= its module=....
Great, good, you finally named a GET var nicely.... But then update the CreateLink func to handle it. As it stands the users gets booted out to the login screen. NOT GOOD!
I and I am sure many others are royally f'd because none of the websites that we have with 1.4 that use modules are able to be upgraded.
At the very least you could have on your home page a HUGE tag, blinking, saying:
ATTENTION UPGRADING WILL BONE YOU!
I'm sorry to be upset but I really thought that I was going to be able to enjoy my weekend.
In so many ways I have loved CMS Made Simple because, well, it helps create websites for clients.
However, EVERY time there is a version change.
JESUS TAP DANCING CHRIST do you have to change the fundamental underlying code?
As I go from 1.4 to 1.5
EVERY WHERE I have some sort $this->CreateLink(
I get screwed!!!
Here is how an old link looks and AMAZINGLY the new module API STILL works!!!! Fix IT!
moduleinterface.php?mact=modulecreator,m1_,reset,0&_s_=82833b88
here is the code that used work very well:
header( "Location: ".$this->CreateLink( $id , 'defaultadmin' , $returnid , '' , '' , '' , true ) );
or
What is _s_?
Apparently now instead of mact= its module=....
Great, good, you finally named a GET var nicely.... But then update the CreateLink func to handle it. As it stands the users gets booted out to the login screen. NOT GOOD!
I and I am sure many others are royally f'd because none of the websites that we have with 1.4 that use modules are able to be upgraded.
At the very least you could have on your home page a HUGE tag, blinking, saying:
ATTENTION UPGRADING WILL BONE YOU!
I'm sorry to be upset but I really thought that I was going to be able to enjoy my weekend.