Route Attributes? |
[eluser]Y0shi[/eluser]
Hey there, so I'm playing around with routes at the moment and I'm trying to do something like pagination with routes or non-ajax tabs with routes. Is it possible to do something like: GENERAL article/showarticle/id/page ROUTE codeigniter-is-great -> goes to article/showarticle/1/1 WHEN I SWITCH TO PAGE TO The URI will turn to article/showarticle/1/1 and will not stay as codeigniter-is-great or something like that Is there a way to pass attributes for things like pagination or tabs into routes? If yes, how? Best regards
[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...uting.html Code: $route['codeigniter-is-great'] = 'article/showarticle/1/1'; |
Welcome Guest, Not a member yet? Register Sign In |