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

Reply via email to