[eluser]Johan André[/eluser]
[quote author="Kijer" date="1290980148"]Thank you for your answer, but I'll still bother you a bit.
I have a small conflict between a sub folder and method
example:
Quote:admin (module)> ad (folder)> annonces.php (controller)
if I do / admin / ads / I have my controller that load
By cons, if I want to call
Quote:admin / ads / categories (and its controller categories.php
), it seeks a method to load classes in annonces.php, I also assume that is where my routes.php comes to my rescue?
I tried: $route['ads/categories'] = "categories" but it does not work.
Thank you for your help, it is precious.
ps : Sorry if my English is not correct, I'm french and try to be as clean as possible.[/quote]
A modules structure is essentially the same as your basic codeigniter application, that is:
Code:
modules
ad
controllers
ad.php <- Public controller
models
ad_model.php
views
ad
index.php
...
You can even use config, libraries, helpers, languages-folder in there too...