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 not generate the correct links, where the slash is there a '% 
2f'.

data structure in the post table looks like this:


1 | root-slug
2 | -- parent-parent-slug
3 | -- -- parent-slug
4 | -- -- -- my-post1-slug-title
5 | -- -- -- my-post2-slug-title

Router::connect('*/**', array('admin'=>false,'controller' => 'posts', 
'action' => 'show')); 

Thank you in advance
...

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to