> 1.      Fetching the tags
>
> None of the following solutions are really satisfactory.
>
> FindAll tags will return all available tags, but won't tell you which
> are currently associated with the post.
>
> FindAll tags for that post_id will tell you which tags are currently
> associated with that account, but will not give you all available
> tags.

no need. you can obtain the tags that are selected for a post
automatically with recursive set to 1, and obtain the names of all
available tags using $this->Tag->generateList()

> 2.      Displaying the checkboxes
>
> The cake checkbox helper requires a modelname/fieldname, but the
> fieldname will be the same for each checkbox (tagname) so back in the
> controller, how would you distinguish one checkbox from the other, to
> determine if it is set or not? (have I mis-stepped here ?)

I have written a small helper for this which may be useful:

http://cakeforge.org/snippet/detail.php?type=snippet&id=190

> 3.      Saving the results
>
> I found some bakery stuff here which looks useful for this. I assume
> there is no native cake way to do this (in v1.1).

this is done automatically by cake, you do not need to do anything etc.

hth

jon


-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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