Re: Custom routing : /parent-slug/parent-slug/title-of-my-post ?

2012-12-06 Thread Salines
The morning is wiser than the night :) Router::connect('/:path/*', array('admin'=>false,'controller' => 'posts', 'action' => 'show'),array('pass'=>array('path'))); $this -> Html -> link($post['Post']['title'], array('plugin'=>false,'admin'=>false,'controller' => 'posts', 'action' => 'show','pa

Custom routing : /parent-slug/parent-slug/title-of-my-post ?

2012-12-05 Thread Salines
Hi, there, I ask for your help, as you can see in the name of a theme, I need to implement routing with slug parent levels. How to do this? I have one tip for each post to save the full path of the table was, eg 'root-slug/parent-parent-slug/parent-slug/my-post-slug-title' but html helper does