Welcome Guest, Not a member yet? Register   Sign In
URI Routing
#1

[eluser]_mtr[/eluser]
So, I've been playing around in CI for a little while now, but I'm sort of stumped when it comes to URI routing.

For the sake of a decent example, say I'm creating a site about cars. If a user wanted info on a 1995 Honda Civic, they would click through a manufacturer listing, then a list of all Honda models, then a list of all years in which the Civic was manufactured. The info the user was looking for would be found at http://www.example.com/manufacturers/honda/civic/1995.

I would need a Manufacturers controller with a general manufacturer lookup function, correct?

My app is that far; I can display all models produced by a manufacturer, but I can't go any deeper.

Could someone give me an outline of what the Manufacturer controller and routes.php file need to look like?

Thanks


Messages In This Thread
URI Routing - by El Forum - 08-23-2009, 08:39 PM
URI Routing - by El Forum - 08-24-2009, 02:46 PM
URI Routing - by El Forum - 08-24-2009, 06:55 PM
URI Routing - by El Forum - 08-24-2009, 07:26 PM
URI Routing - by El Forum - 08-24-2009, 07:37 PM
URI Routing - by El Forum - 08-24-2009, 07:50 PM
URI Routing - by El Forum - 08-24-2009, 07:58 PM
URI Routing - by El Forum - 08-25-2009, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB