OK, if you look at this in a slightly different way and think of your
subjects as tags then you could use this behaviour Cake 1.2:
http://bakery.cakephp.org/articles/view/simple-tagging-behavior

Or this plugin Cake 1.3:
http://cakedc.com/downloads/view/cakephp_tags_plugin

I add comma separated tags to all my content using a text field and
have some beforeSave() actions in my models to check if the tag
already exists, and it if it hasn;t, or select the id if it has and
format the data array as if the user had used checkboxes on the form.
I would imagine one of the above would do the same a lot neater.

HTH

Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to