Why FormBase was ripped of "Current Development Version" ?

thread: 2 messages  |  last: about 3 years ago  |  started: thursday, march 27, 2008, 4:21 am pdt


#1  |  rsantos (Rio de Janeiro, RJ) Brazil
Thursday, March 27, 2008, 4:21 AM PDT

Know the generated files in drafts have lots of unnecessary informations. It was so clean before.

Another brilliant idea killed? Why?

I am definitely going back to 0.3.32 version.

#2  |  VexedPanda (Calgary, AB) Canada
Thursday, March 27, 2008, 3:15 PM PDT

I too would like to see the FormBase classes brought back. There's a lot of standard generated code in my forms that I very rarely alter, and would prefer to be able to regenerate at will without breaking my form customizations.

Mind you, you can accomplish this now yourself by altering the templates the following way:
1) Change the filename/class name/location in templates/db_orm/drafts/_qform_edit.tpl.php to add “Base”
2) Rename the file _qform_edit_base.tpl.php
3) Create a new _qform_edit.tpl.php template file with just the basics (the class definition stuff in the old file, but extending *EditFormBase instead of QForm)
4) Do the same for the list pages



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.