You can configure a model to have no table, but what I think you're really looking for is how to make a controller use whichever models you'd like it to.
The answer is $uses in the controller. http://book.cakephp.org/view/49/controllers#controller-attributes-51 A very brief look in any of the manuals, or a search in this group, would have brought your attention to this quicky, without needing to post :) On 23 Feb, 01:26, jim starboard <[EMAIL PROTECTED]> wrote: > I'm trying to understand how to set up the homepage of my site. I > would like to have my home_controller access various tables in the > database, eg users, games, etc. The problem is, I'm required to have a > home model, but there is no homes table. So I get an error. What's the > best way to have a model that represents or is composed of multiple > tables, but has no table of its own name? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
