routing depth |
[eluser]reepher[/eluser]
I am working on an application that has a lot of location based data that needs to be organized. I created a location controller to be the jumping off point to drill down to this data. So a user can go to http://xyz.com/location and choose a state. That generates a new page at a url like http://xyz.com/location/Missouri where they can chose a city from the state Missouri. Then they would drill down to other categories based on the location(example: http://xyz.com/location/Missouri/Springfield/cars/bmw). This is where I realized routing doesn't scale they way I had thought. routes: Code: $route['location/(:any)'] = "location/state/"; (:any)/(:any) obviously doesn't work. Is there a way to maintain the uri flow and continue to drill down into the granular data? |
Messages In This Thread |
routing depth - by El Forum - 02-13-2012, 01:00 PM
routing depth - by El Forum - 02-13-2012, 01:10 PM
routing depth - by El Forum - 02-13-2012, 01:42 PM
|