Re: Layout Bug or Doc Bug in 2.0.4

2011-12-24 Thread Tilen Majerle
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

Layout Bug or Doc Bug in 2.0.4

2011-12-23 Thread John Lockwood
Hi, The 2.0 docs for changing layouts say this, which doesn't work: public function viewActive() { $this-set('title_for_layout', 'View Active Users'); $this-layout = 'default_small_ad'; } That didn't work. This did: function beforeRender() {