I'm not an expert on routes, either. But I would start here to find out.Routing Cookbook v2<http://book.cakephp.org/2.0/en/development/routing.html>
Sincerely, Michael Stelly mobile: +1.918.978.2000 skype: mjstelly LinkedIn <http://www.linkedin.com/in/mstelly> On Tue, May 8, 2012 at 7:26 AM, Confused Dev <[email protected]>wrote: > Hello. > > I need help with defining some unusual routes. > > Here are my 2 tables Colors and Products: > > mysql> select * from colors; > +----+------+ > | id | name | > +----+------+ > | 1 | blue | > +----+------+ > > mysql> select * from products; > +----+------+----------+ > | id | name | color_id | > +----+------+----------+ > | 1 | bowl | 1 | > +----+------+----------+ > > > Normally Cake will produce links like this: > http://example.com/products/view/1 > > I'd like to have links like this: > http://example.com/items/blue/bowl/1 > > I don't even know where to begin to make it produce automatic links > like that. Any help would be greatly appreciated. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
