On 8/18/07, Mech7 <[EMAIL PROTECTED]> wrote:
> domain/animals/birds/hummingbird/
>
> instead of
>
> domain/articles/view/hummingbird
>

Have done that with tags in cheesecake it was a bit more difficult as
tags is a HABTM relationship and the tags could potentially be in
random order eg: photos/2007/vacation/ or photos/vacation/2007

Since in your case the order will be fixed it is just a matter of
looping thru like - foreach ($this->params['pass'] as $category) and
getting the ID of the final category - then use it in your query.

Yes it will need a custom function in the model...

Cheers
T


-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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