> and removing the viewed rows in the db when a comment is added I don't understand what you mean by that. If it's what I think then I'd guess it would require a lot of writes to the DB.
I did put something together last night. It's a bit rough around the edges but it's a start. It involves code from a bunch of files, so you can check it out here: http://pastebin.ca/1768372 My first inclination was to create a behavior. Even though there are two models involved directly--Post & Comments--I thought it could be done. But I need access to the Session. I've chosen to pass it from the controller to Post model. It's a cheat, but I can't think of any way (that would be better) to do this with a behavior. 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
