On Jun 24, 2011, at 12:15, Doug wrote:
> 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() {
> }
> } ?>
When you say "join" I assume you mean a registration form, and/or a login form.
If you want such a feature to be available on multiple pages, then perhaps you
want to be looking into what CakePHP calls "elements".
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php