Controller events_controller.php looks like:
class EventsController extends AppController
{
var $name = 'Events';
var $uses = array('event');
function __construct()
{
$this->pageTitle = "Events";
$this->viewPath = 'events';
}
function index()
{
$this->render('index');
}
}
Model event.php looks like:
class Event extends AppModel
{
var $name = 'Event';
function __construct()
{
//
}
}
View events/index.thtml looks like:
<h1>index of events</h1>
That's it... Any thoughts?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---