Scaffold should not be used for production settings, I have said this since I added it to cake. If you want the automagicness that scaffold provides, use bake and edit the files that are created. I will not add any more functionality to scaffold that is not already there.

You can already use methods that are available to extend scaffold on your own.

Controller::_beforeScaffold()
Controller::_afterScaffoldSave()
Controller::_afterScaffoldSaveError()
Controller::_scaffoldError()

And you already have the ability to override the core templates used for scaffold by creating your own views.

app/views/scaffold/scaffold.*.thtml
or
app/views/*/scaffold.*.thtml

With all of this available to you, doing what you need can be done already without having to add it to the core.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/

On 10/30/06, jdownton <[EMAIL PROTECTED]> wrote:

I do like the idea of extending the ability of scaffolding.  I use cake
for work so anything that saves time lets me sleep more ;)

Personally if one could put in the option to hide a field from
scaffolding (like 'id') and format the rows and columns a little more
cleanly it would mean I wouldn't have to bake so quickly.

I've just found that users always want to change a field, add a field,
delete a field.... and this process doesn't seem to stop and once I've
baked my views it means going into the index/add/view/edit templates to
add/delete a field.

These are just my thoughts and I am still learning :)

-Jeff  btw. Hi Jose, you remember me?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to