Welcome Guest, Not a member yet? Register   Sign In
Problem controller within subfolder
#1

[eluser]Aircraft42h[/eluser]
Hi,

Firstable I had all files in my subfolder admin, and it worked very well.
But I would like to explode with other folders :

Like that :
controlers
admin
user
content
customer

I still have a file in admin and it's ok but i can't access file inside user, content or customer, I have always 404 page not found.

any ideas ?
I m' very tired, more than 3 hours to search what's wrong

Aircraft
#2

[eluser]Dam1an[/eluser]
You can only have 1 level of sub folders for controllers, which is why you can access stuff in admin ok but not any folders within admin
You could probably tweak Router to enable nested folders, and chances are somepones probably done it already and there's a modified library somewhere... wiki perhaps?
#3

[eluser]Aircraft42h[/eluser]
argh ! OK
But it is possible to have many sub folder in view, that's it ?
#4

[eluser]Thorpe Obazee[/eluser]
[quote author="Aircraft42h" date="1247802416"]argh ! OK
But it is possible to have many sub folder in view, that's it ?[/quote]

Yes.
#5

[eluser]darkhouse[/eluser]
This router extension allows you to have nested controller folders. http://ellislab.com/forums/viewthread/56100/




Theme © iAndrew 2016 - Forum software by © MyBB