Welcome Guest, Not a member yet? Register   Sign In
Scaffolding and controllers in subdirs
#1

[eluser]Unknown[/eluser]
I'm new here so Hello Everyone.

I'm also new in CI and i have problem with scaffolding. If I put controller in default dir (application/controllers) scaffolding working fine:

localhost/my_page/test/scaffolding
localhost/my_page/test/scaffolding/add

But if i put controller in subdir, like this:

localhost/my_page/admin/test/scaffolding <- this working
localhost/my_page/admin/test/scaffolding/add <- this return 404

Thanks for possible help,

CI 1.7.3
PHP 5.3
#2

[eluser]Nick_MyShuitings[/eluser]
remember that scaffolding is just a little helper so you can play around quickly without having to build a full CRUD or use phpmyadmin... so its quite possible that its very limited in scope.

If I recall correctly its deprecated in 2.0
#3

[eluser]web-johnny[/eluser]
Yes this is true , scaffolding does not exist anymore in ci 2.0 , though if you like a quick CRUD for ci.1.7.3 you can use mine named as grocery CRUD. (it works even in sub folders). Click here to see it




Theme © iAndrew 2016 - Forum software by © MyBB