Part of the EllisLab Network
   
 
User Guide : Uri Routing
Posted: 02 July 2008 05:38 PM   [ Ignore ]  
Summer Student
Total Posts:  11
Joined  06-18-2008

i believe that

$route[’product/:any’] = “catalog/product_lookup”;

should become

$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

Profile
 
 
Posted: 02 July 2008 06:26 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1089
Joined  01-07-2008

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.

 Signature 

Blog | Twitter | Coffee

Profile
 
 
Posted: 02 July 2008 11:38 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  605
Joined  08-06-2006

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.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 61059 Total Logged-in Users: 28
Total Topics: 73867 Total Anonymous Users: 1
Total Replies: 398466 Total Guests: 343
Total Posts: 472333    
Members ( View Memberlist )
Newest Members:  bnolenstanjadebieSan2kakifemreSchottec2kmeenazterjinFuadgeorge_k_allis