- project page and project info: http://drupal.org/sandbox/guy_schneerson/1791650
- git: git clone http://git.drupal.org/sandbox/guy_schneerson/1791650.git rules_form_alter
This module provides rules access to hook_form_alter() it is significantly different then the Rules Forms Support module, more developer oriented and as a result more powerful with much less code, the tradeoff developers need to be more technical minded. see module page for more information
I maintain two modules (and a number of sandboxes) however both where taken over from other developers and I have no full project permission.
My Project:
http://drupal.org/project/commerce_stock
http://drupal.org/project/commerce_decimal_quantities
Regards,
Guy
Comments
Comment #1
bennetteson commentedYou need to give a ready to use git clone.
You need to use drupal_static() instead of global.
http://drupalcode.org/sandbox/guy_schneerson/1791650.git/blob/a1dff1a7c0...
Comment #2
guy_schneerson commentedThanks @bennetteson
I updated the Issue Summary with the full git clone and will update the code to use drupal_static()
Comment #3
guy_schneerson commentedFixed see issue http://drupal.org/node/1991808
diff http://drupalcode.org/sandbox/guy_schneerson/1791650.git/commitdiff/8818...
Comment #4
guy_schneerson commentedops realized I was to creative with the $default_value made a last min change will fix shortly
Comment #5
guy_schneerson commentedmuch better should work correctly now. Made the following change:
default value is empty array and each call to the hook_form_alter sets the $rules_form_alter_data value see http://drupalcode.org/sandbox/guy_schneerson/1791650.git/commitdiff/6a79...
Comment #6
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #7
guy_schneerson commentedDear PA robot
I know you are only a bot and talking to a bot is probably worth than talking to yourself, but what the hack I really like you and I think you are a cool bot. So wanted to let you know that I have taken your advice to hart and our next local meetup will be dedicated to reviewing sandbox modules http://groups.drupal.org/node/298358 :)
Yours sincerely
An organically based Drupal user.
Comment #8
stefan lehmannHey there,
I really like the idea to be able to change forms via rules. Thanks for this contribution.
Automatic review: some errors, see on Ventral.org.
Manual review:
I tried for quite a while to get at least a debug output of a comment form, but I failed. I believe that your module works, but it definitely lacks a lot of documentation, how to use it properly. I also don't like the very technical label "Rules_form_alter" popping up in the Rules list. It should be something easier understandable. I think this module needs a bit more polishing. Happy to review it again, when you added some more documentation.
Comment #9
guy_schneerson commentedHi @Stefan Lehmann
Thank you for the awesome review, all valid points that will be addressed.
My only possible sticking point is the naming of "Rules_form_alter" in the Rules list as I think it reflects the more technical side of the project, but will keep an open mind.
I will address all your point, work on the documentation and provide a step by step getting started (will probably use the comment form).
Comment #10
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 #11
guy_schneerson commentedStill working on it and will soon reopen
Comment #11.0
guy_schneerson commentedUpdated issue summary.