use the _beforeScaffold callback in your controller
--~--~-~--~~~---~--~~
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
Thanks Amit but unfortunately that walkthrough helps for modifying the
HTML that the scaffolding functionality uses -- but it does not
address the layout. The layout remains default.
I also tried setting [ $this-layout = ] in those view / .ctp
files and no change.
I also tried [
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
As far as I can understand from the documentation, you just replace
the default layout with your own.
The default layout can be found in the app/views/layout folder.
Enjoy,
John
On Mar 30, 10:42 am, bbf builtbyf...@gmail.com wrote:
I've searched the groups and Google and can't find an
That would change the layout for the whole site.
I want my site to use one layout (e.g. the pretty layout), but the
scaffolding to use a different layout (e.g. the plain layout).
On Mar 30, 5:04 am, John Andersen j.andersen...@gmail.com wrote:
As far as I can understand from the
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
Here's a good walkthrough:
http://teknoid.wordpress.com/2009/01/31/take-control-over-your-bake-and-scaffold-html-templates/
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