School site with multiple sub schools |
[eluser]clip[/eluser]
[quote author="yabune" date="1256349147"]So, I would not create folder? I would just have one news controller class and in this class I would use the URI class to check what school is in the url?[/quote] Correct! Quote:Would I have also to define some uri routing, so that I could have the school name before the class name? correct so if your url looked like this http://schoolsite.com/index.php/school/name/news your route would look something like this: Code: $route['school/:any/news'] = 'school/news'; That should do the trick. |
Messages In This Thread |
School site with multiple sub schools - by El Forum - 10-23-2009, 02:33 PM
School site with multiple sub schools - by El Forum - 10-23-2009, 02:39 PM
School site with multiple sub schools - by El Forum - 10-23-2009, 02:52 PM
School site with multiple sub schools - by El Forum - 10-23-2009, 03:05 PM
School site with multiple sub schools - by El Forum - 10-23-2009, 03:11 PM
|