(I downloaded Cake last week, so my version should be pretty much
up-to-date, also running on PHP 5.1.2)

So my naming is like this:

model: Adword
controller: Keywords (also in controller: var $name = "Adword" -- as in
the examples  in the manual)
view_dir: keywords

I get this error: /home/revsense/revsense/app/views/adword/index.thtml

When I changed the controller from:
var $name = "Adword" to
var $uses = array("Adword")

Then it recognized that it should use the "views/keywords" directory.

Was this a design tradeoff for performance so that controllers are not
burdened with loading all the models before starting?


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

Reply via email to