Re: passing post_id to comments
On Wed, Oct 12, 2011 at 6:51 PM, Media Affect <themediaaffect@gmail.com> wrote:
> Does anyone have an example of a controller for passing the post_id to
> a comments add controller they would share? Does sessions need to be
> on? I don't want a dropdown after baking. I can get the post_id into
> the comments add url but, it won't seem to add the post_id to the
> database?
Your question seems like a bit of a brain dump, but I'll try and answer.
Have you considered using hidden form elements in the comment form?
--
Simon Males
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home