Saturday, December 24, 2011

Re: Layout Bug or Doc Bug in 2.0.4

i think, that you method viewActive is never executed directly by server, you have to use underscored names, so view_active would be correct
 public function view_ctive() {
       $this->set('title_for_layout', 'View Active Users');
       $this->layout = 'default_small_ad';
    }

try now localhost/controller_name/view_active
--
Lep pozdrav, Tilen Majerle



2011/12/23 John Lockwood <elitepropertiesbroker@gmail.com>
public function viewActive() {
       $this->set('title_for_layout', 'View Active Users');
       $this->layout = 'default_small_ad';
    }

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

No comments: