Hi there,

Thanks for providing Cakephp :). As I don't see any reason to register
for Trac, here's some information that might prove helpful for others.

The documentation on http://book.cakephp.org/view/107/Customizing-Scaffold-Views
seems to be incorrect - adding a new entry to a table doesn't use
scaffold.new.ctp but scaffold.edit.ctp as a template.

In scaffold.php (cake_1.2.4.8284) the following lines seem to be
responsible for this:

if ($name === 'add') {
        $name = 'edit';
}

$scaffoldAction = 'scaffold.' . $name;

If I just misunderstood the file scaffold.new.ctp, please point me to
the right usage :).

Thanks a lot
Bastian

--~--~---------~--~----~------------~-------~--~----~
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