Using CakePHP 1.2.0.7296 RC2
I've been having a dabble with the built in support for themes
( http://book.cakephp.org/view/488/Themes )
I've set up a theme using the instructions in the CakePHP docs above
and updated AppModel to use themes:
class AppController extends Controller {
var $view = "Theme";
var $theme = "my_theme";
}
I have a simple controller set up to produce scaffolding views:
function EventsController extends AppController {
var $scaffold;
}
but when I visit the events index page I get the following error:
Missing View
Error: The view for EventsController::index() was not found.
Error: Confirm you have created the file: D:\webroot\projects\cake_css
\app\views\themed\my_theme\events\index.ctp
Why is it looking for an events index view and not scaffolding one as
expected?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---