That's easier than the theme. Thanks Jeremy.
--
Louie Miranda
- Email: [email protected]
- Web: http://www.louiemiranda.com



On Fri, Jun 18, 2010 at 1:28 PM, Jeremy Burns | Class Outfit <
[email protected]> wrote:

> In your controller function type: $this->layout = 'goodbye';
>
> Jeremy Burns
> *Class Outfit*
> *
> *
> [email protected] <[email protected]>
> http://www.classoutfit.com
>
> On 18 Jun 2010, at 04:30, Louie Miranda wrote:
>
> Would it be possible to use different default.ctp (or shall I say,
> different templates) for each controllers?
>
> To better understand, here's some:
>
> *EXAMPLE:*
> CONTROLLER/PAGE/URL: example.com/welcome
> VIEW/TEMPLATE: /app/views/layouts/welcome.ctp
>
> CONTROLLER/PAGE/URL: example.com/goodbye
> VIEW/TEMPLATE: /app/views/layouts/goodbye.ctp
>
> I only knew one thing about cake and that is to use a single template which
> is the /app/views/layouts/default.ctp
>
> Has anyone done this? Google was not able to search some for me. :(
> --
> Louie Miranda
> - Email: [email protected]
>
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php?hl=en
>
>
>  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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to