I have had good success by using a model function to generate a custom
query from the url. Search for other posts on nested categories for
some solutions. I generally resolve the id of the article/category -
whatever is nested - using a recursive function in the model and then
pass that along to a regular find call.

On Aug 17, 12:46 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 8/17/07, Mech7 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Yes it is, but how to do it without knowing how deep it goes.. it
> > could be..
>
> > /animals
> > /animals/birds/
> > /animals/birds/hummingbird
>
> That is the trick, isn't it. :)
>
> Part of the problem is that you are trying to do pattern matching on a
> potentially open-ended pattern, right?
>
> You might have to break down into routes like
>
> /animals/birds/<type of bird>, and that sort of thing you can easily
> create a route for.
>
> --
> Chris Hartjes
> Senior Developer
> Cake Development Corporation
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to