On Sun, Mar 13, 2011 at 12:29 PM, heohni <[email protected]> wrote: > 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...?
How are you calling the action? AJAX? And you're sure that blank.ctp is there? Also, note that you're setting a variable, $members, which is plural. Typo? -- 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
