Re: Friends HABTM
I read through the first one but the other 2 aren't working for me. I know that I can do a self referential table but can I put other fields in it too? Like a status field to say the relationship is pending, accepted, denied,etc? On Oct 27, 2:06 pm, cakeFreak <[EMAIL PROTECTED]> wrote: > Hey Spyder, > > try to read these posts: > > Self-referential has_many :through > associationshttp://blog.hasmanythrough.com/2006/4/21/self-referential-through > > http://groups.google.com/group/cake-php/browse_frm/thread/c8ebc2097f8... > > http://groups.google.com/group/cake-php/browse_frm/thread/e70d4147be0... > > Hope this helps! > > Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Friends HABTM
I have read through the posts on how to set a "Friends" table to join user ids that want to be considered friends. What if they don't want to be friends? How could I set it to require approval from the other person before adding the user_ids to the friends table? Should I add another field in the join table to show if the relationship is approved or not? I am not real sure how to best set this up as all of the examples I have read through seem to involve the end result relationship of user_id and friend_id. Would it be easier/better to have each user have their own group in ACL so their friends would have access to view private posts, etc? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
1.1 ACL without using console?
I am stepping through the IBM tutorials and now it is wanting me to use the console to create the ACL files. I am using a shared host and do not have Cake installed locally. Can I still create the files needed to use the ACL stuff in 1.1? If so, how would I go about doing that? Can I download them somewhere? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Index Function
Hello, I am new to Cake and I keep running into little catches that I cant figure out. How do I create a default action for a controller? I thought it was to create an index function in that controller file but that didn't seem to work. I was walking through a tutorial that created a users control with a register action and a knownusers action. What happens when someone decides to use domain.com/users/ as a url. Right now it throws an error. What is needed to show a page for that directory? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---