HTML that the scaffolding functionality uses -- but it does not
address the layout. The layout remains "default".
I also tried setting [ $this->layout = "XXXX" ] in those view / .ctp
files and no change.
I also tried [ $this->layout = "XXXX" ] in _beforeScaffold() -- no
change.
What I find bizarre is that it seems that not many others need this
functionality?
public frontend = layout1
private backend = layout2
Does everyone use the same layout for the scaffolding?
On Mar 30, 6:11 pm, Amit <a...@amitvaria.com> wrote:
> Here's a good walkthrough:http://teknoid.wordpress.com/2009/01/31/take-control-over-your-bake-a...
>
> On Mar 30, 5:05 pm, Amit <a...@amitvaria.com> wrote:
>
> > I think you're referring to cake/libs/views/scaffold/(add|edit|
> > view.ctp). These will let you alter the way scaffolding looks
>
> > On Mar 30, 2:42 am, bbf <builtbyf...@gmail.com> wrote:
>
> > > I've searched the groups and Google and can't find an answer for this.
>
> > > How do I set a different layout for the scaffolding?
>
> > > Thanks for your help!
--~--~---------~--~----~------------~-------~--~----~
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