Re: Load Data from other table
Thanks, but I totally forgot about the $uses variable. On Oct 25, 4:18 pm, RyOnLife <[EMAIL PROTECTED]> wrote: > If it's something as simple as a site > name,http://n2.nabble.com/How-to-use-Components-in-Views--tp1377006p137719... > this might help. Just use 'site_name' instead of 'site_id' and that will do > the trick. > > thatsgreat2345 wrote: > > > I am making a site and for the index, and contact, and TOS, and other > > stuff I have it running on GeneralController. I may end up selling the > > script and so Site Name is saved in the General table. Is there an OOP > > way to access the General table with out defining a $hasone/$belongsto > > or anything like that? > > -- > View this message in > context:http://n2.nabble.com/Load-Data-from-other-table-tp1377212p1377223.html > Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~--~~~~--~~--~--~---
Re: Load Data from other table
If it's something as simple as a site name, http://n2.nabble.com/How-to-use-Components-in-Views--tp1377006p1377198.html this might help. Just use 'site_name' instead of 'site_id' and that will do the trick. thatsgreat2345 wrote: > > > I am making a site and for the index, and contact, and TOS, and other > stuff I have it running on GeneralController. I may end up selling the > script and so Site Name is saved in the General table. Is there an OOP > way to access the General table with out defining a $hasone/$belongsto > or anything like that? > > > > -- View this message in context: http://n2.nabble.com/Load-Data-from-other-table-tp1377212p1377223.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~--~~~~--~~--~--~---
Load Data from other table
I am making a site and for the index, and contact, and TOS, and other stuff I have it running on GeneralController. I may end up selling the script and so Site Name is saved in the General table. Is there an OOP way to access the General table with out defining a $hasone/$belongsto or anything like that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~--~~~~--~~--~--~---