On Apr 18, 2006, at 4:06 PM, ofir wrote:

>
> Hi John, I've installed your script and I loved the way it walks you
> through, however I found a few glitches you may wanna fix:
>
> 1. The generated view files contain the following code:
> $row[Model][field], PHP throws a warning meaning this should be
> referenced as $row['Model']['field'] instead.

Nice eye. Its sometimes hard to notice things like this when you're  
writing code that writes code. :)

> 2. The add.thtml template throws the following notice: "Notice:
> Undefined variable: data in add.thtml"

Should be fixed. The fields are auto generated, so I have to work  
around it some.

> 3. It would be nice if the generated add and edit views could set the
> action attribute of the form tags to the correct path if the cake
> installation is not in the root of the domain.

Indeed it would. I'm not sure I want to add this in at this point.

> 4. It would also be nice if the default option for the id, modified  
> and
> created columns were "5- Do not do any validation on this field.", or
> perhaps skip them.

Nice idea. This has been changed.

Thanks for the feedback. Check out an updated copy.

-- J

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