How about the relation..?

Since User has Many message (in inbox), but User also has Many message (that
the user sent to other User).


On Wed, Oct 1, 2008 at 2:41 AM, Markus Muschol <[EMAIL PROTECTED]
> wrote:

>
> This should be kind of easy to write on your own
>
> setup a new database table:
>
> id                      int
> sender_id               int foreign key to user table
> receiver_id     int foreign key to user table
> message                 varchar
>
> Then create a message write form and a message list template for inbox
> and outbox.
>
> The controller has some crud functions that can be generated by cake
> and a simple send and index function.
>
> Thats it ;)
>
> Regards
>
> Am 30.09.2008 um 21:31 schrieb rocket:
>
> >
> > PM stands for private messages.
> > basically a system inside cake that will allow my users to send
> > messaages to eachother.
> >
> > On Sep 30, 12:35 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
> >> On Tue, Sep 30, 2008 at 1:26 PM, rocket <[EMAIL PROTECTED]> wrote:
> >>
> >>> I'm about to write a PM system for users... but why invent the
> >>> wheel?
> >>> Anyone know of a good prebuilt cake pm system, or a vendor I can
> >>> use?
> >>
> >> *
> >> What does PM stand for?
> >> Your abbreviation search returned 164 meanings*
> >>
> >> Which one of the 164 does your PM stand for?
> >>
> >> - Gonzalo
> > >
>
>
> >
>

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