$this->layout = 'yourLayout';
in your action
HTH
./T
On Wed, Oct 27, 2010 at 9:28 PM, Tomfox Wiranata
<tomfox.wiranata@gmail.com> wrote:
>
> i have some trouble using $content_for_layout in my view........so i
> guess it just works in layouts!!??
>
> and i read one layout per controller, which sucks, cause i need this
> one layout for an action...is there some way out?
>
--
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment