Friday, June 24, 2011

Can I place the join fields in the Home.ctp?

I want people to be able to join right from the home page. I copied
the contents of views/join.ctp into layouts/home.ctp. When I do, I get
the following:

Missing Method in UsersController
Error: The action display is not defined in controller UsersController

Error: Create UsersController::display() in file: app\controllers
\users_controller.php.

<?php
class UsersController extends AppController {
var $name = 'Users';
function display() {
}
} ?>

Obviously I am a cakePHP noob so go easy.

Thanks
Doug Hale

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate