Welcome Guest, Not a member yet? Register   Sign In
User Guide : Uri Routing
#1

[eluser]gtipete[/eluser]
i believe that
Quote:$route['product/:any'] = "catalog/product_lookup";

should become
Quote:$route['product/(:any)'] = "catalog/product_lookup/$1";
... this is the only way that i can make it work anyway, please correct me if im wrong though Smile
#2

[eluser]Pascal Kriete[/eluser]
That's what the example right underneath is for. It's there to show what can be done, some people may not need to capture the trailing segments.
#3

[eluser]sophistry[/eluser]
i stumbled on this same thing a few months back. here is the link to my writeup of this bug/inconsistency in the manual (or the code - take your pick).

cheers.




Theme © iAndrew 2016 - Forum software by © MyBB