On 9/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I dont think i have it setup to work that way, below is the controllers
> for posts and comments along with the index.thtml of posts
>
> http://pastecode.net/?action=viewpost&tag=1007

If I understand your problem correctly (always dangerous to do this
without looking at the code, but what the hell) you want to pass info
from one controller to another, right?

That should be dead simple.  The documentation is full of examples on
how to build actions within a controller where you can accept
parameters passed to it by another script, whatever it is.

blog/posts/7 (show me all the posts in my blog with the id of 7) could
in the view provide a link to blog/comments/7 (show me all the
comments associated with the blog posting 7), and do make that work
properly you need to have associations in the models created so that
when you reference blog post 7 you get all the comments that are
attached to it.

Hope that helps.

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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

Reply via email to