Welcome Guest, Not a member yet? Register   Sign In
Scaffolding does not work in "subfoldered" controller
#7

[eluser]zdknudsen[/eluser]
Yes, indeed a lot of people have been able to recreate said problem (a simple forum search would have confirmed this). It is caused by the scaffolding class using $this->uri->segment() for all its parameters and thereby causing problems when residing in subfolders. An official fix never made it into the source and now scaffolding is deprecated. Derek Allard's explanation was as follows:

Quote:This was a tough decision, and there was considerable internal debate, but at the end of the day we just weren’t happy with how scaffolding was implemented. We felt it didn’t live up to the quality of the rest of CodeIgniter, and until we can have something in there that does, we just didn’t want to ship with it. We were careful not to break any currently existing functionality, and scaffolding will stick around for some time, but the decision was made to move it out.

Your best move would probably be to either fix the current Scaffolding code yourself or use some of the alternatives presented by the community.


Messages In This Thread
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-07-2008, 03:32 PM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-07-2008, 07:01 PM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 06:26 AM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 10:59 AM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 11:27 AM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 02:07 PM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 03:08 PM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 04:02 PM
Scaffolding does not work in "subfoldered" controller - by El Forum - 02-08-2008, 05:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB