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 http://majerle.eu 2011/12/23 John Lockwood <elitepropertiesbro...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php