Sunday, March 13, 2011

Having trouble with $this->layout

Hi,

function searchMember($id = null){
$this->layout = 'blank';
$this->set('members', $member);
}

Is not loading the template I created under /views/layouts/blank.ctp
Do I miss anything here?

Because I wonder as here http://book.cakephp.org/de/view/962/Page-related-Attributes-layout-and-pageTitle
is the same... I don't understand why this singe actions isn't bale to
call another template...?

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