Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Quickfields is a drupal 7 module that adds a checkbox on the 'Manage fields'-tab the field ui, so sitebuilders can create fields without going through the field and widget settingsforms. This allows sitebuilders to mass-create fields at the start of a new project.
http://drupal.org/sandbox/sandervd/1787738
The repository can be found here:
git clone --recursive --branch 7.x-1.x sandervd@git.drupal.org:sandbox/sandervd/1787738.git quickfields
Comments
Comment #1
moertle CreditAttribution: moertle commentedI really like your module!
The module works as expected for me,
but you should solve the problems from the automated project review:
http://ventral.org/pareview/httpgitdrupalorgsandboxsandervd1787738git
Comment #2
sandervd CreditAttribution: sandervd commentedThanks for your review, I'll try to look into these documentation issues tomorrow.
As for now I'll set this one back to needs work.
Comment #3
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #4
sandervd CreditAttribution: sandervd commentedCoder issues resolved, ready for review!
Comment #5
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #6
sashainparisHi Sander,
Before anything else: Happy new year!
This module is interesting and I personally find it more useful for existing fields than initial default values :-)
Coder, Coder tough love: no problem.
http://ventral.org/pareview/httpgitdrupalorgsandboxsandervd1787738git
As you should have noticed, PAReview say you should get ride of you master branch: see http://drupal.org/node/1127732
Otherwise, everything looks OK from this test.
As PAReview is expected to be OK to validate permission, I switch Status to "needs work".
I manually looked at your code but don't find much to say: it looks OK for me.
From my point of view: you should add a warning in the README.txt file recalling that one should make sure quick creating fields are OK before creating data as this can block some fields settings configuration afterward. I suggest this because we can presume that many users of your module won't be experimented Drupal developers.
My testing was OK too.
Thank you for this piece of work.
Alexandre
Comment #7
sandervd CreditAttribution: sandervd commentedHi Alexandre,
A very happy new year to you to, and thanks for reviewing!
I just removed the master branch, so I'm bumping the issue back to needs review ;-)
Kind regards,
Sander
Comment #8
sashainparis:-)
OK PAReview is fine, and master disappeared from http://drupalcode.org/sandbox/sandervd/1787738.git
I let you complete the project page when you will have some time, and change Status to RTBC.
Regards,
Alexandre
Comment #9
sandervd CreditAttribution: sandervd commentedhttp://drupal.org/node/1787780#comment-6902010
=> I have added a warning to the project page, as well as to the readme.txt.
Comment #10
stBorchertSorry for setting this back to "needs work" but I found some (more or less major) issues:
$form['#submit'][0]
. This will break if any other module adds a custom submit callback at first position of "#submit" usingarray_unshift($form['#submit'], 'my_custom_field_ui_submit');
.It would be better to loop search for the name of the default submit callback (using array_search()) and replace it using the returned index.
Thanks for your patience.
Comment #11
sandervd CreditAttribution: sandervd commentedYou're right, it's clearer that way. Fixed.
Changed to 'User interface'
I want the checkboxes to show up under the operations column, so works as designed.
Back to needs review...
Comment #12
sandervd CreditAttribution: sandervd commented@stBorchert:
If you'd have the chance to verify that these changes are made, I'd be able to switch back to RTBC.
Thanks for your review!
Comment #13
pfrenssenThe issues from #10 are all solved, the module works a treat (I am definitely going to use this!) and the code looks great. Alas, when I took out my finest comb and most powerful magnifying glass I did manage to uncover some more minor issues. If these could perhaps be solved this module would shine brighter than a thousand stars.
FORM
andID
.field_ui_field_overview_form_submit()
. Indicate this by adding a link to the docblock like this:It would also be most pleasant if the text in the readme were reformatted to make everything fit as snugly as possible within 80 characters per line.
Overall my sincere congratulations for this fine piece of programmery!
Comment #14
PA robot CreditAttribution: PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #14.0
PA robot CreditAttribution: PA robot commentedAdd link to repo