Closed (duplicate)
Project:
Drupal.org CVS applications
Component:
new project application
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Oct 2010 at 16:12 UTC
Updated:
11 Sep 2019 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
manuel.adanCode of the "Webform submission attachment" proposed module is attached. This modules link a node with a webform submission, as a way of extend the information of a node, and providing a method for dynamic content subtypes.
It is useful for scenarios like websites where users may submit request, with an additional (optional) datasheet, with different fields based on request parameters.
It also provides website users the ability of manage content types without the complexity of CCK, thank's to the webform (3.x) UI.
Basic use steps:
Notes:
Module is in use in some websites, but it is still in development.
Comment #2
avpadernoHello, and thank you for applying for a CVS account. I am adding the review tags.
Comment #3
drupalshrek commentedHi,
I had a little look to get the ball rolling.
Some good things for sure:
1) Hey, you're here wanting to contribute!
2) At a glance, it looks good!
3) I see lots of comments
4) The code uses t() for translators.
5) SQL uses {} for table names, and % for replacement parms
6) Install cleans up
A few things to work on for now:
1) The code (I guess) is great, but when you are submitting to the community it is so that other people can use it, so it needs both great documentation for end users and for other coders. Please add:
i) a README.txt (full guidance for users of your module)
ii) documentation for every function (full guidance for programmers wanting to change your module)
2) Make the name of the module consistent:
In the .info file I would write:
name = WFSA, Web Form Submission Attachments
I looked for "wfsa" in the list of modules and couldn't find it, so I had to go back and read the "name" field to find out what it was called; a user with less knowledge might have struggled.
3) Remove " // TODO: avoid calls to private functions" from this "completed" module (we all know a module is never complete, and that dev versions may have this, but this is supposed to be a user-ready version)
4) I think that t() is not needed on titles. Can someone clarify please?
See you later!
Comment #4
avpadernoI am changing status as per previous comment.
Comment #5
gokulnk commentedHi,
" 4) I think that t() is not needed on titles. Can someone clarify please? "
You are right drupalshrek, the t() is not needed on the titles if it is called from the menu hook as it passes the title string through t() by default.
If you want to have your own custom function for the translation then set
'title callback' => 'my_custom_function', in the menu hook.
Comment #6
manuel.adanHi,
I reviewed initial module code with:
1) A README.txt (from #954690-1: adan [adan]) and function documentation included.
2) Consistent module name in .info file
3) Devel annotations removed from module code.
4) t() is used in title in hook_form_alter, where, as I tested, it is needed (also shown in API examples). There are no menu entries defined in module, only an implementation of hook_menu_alter.
and:
5) One bugfix since my first submit (webform date fields fails on node edition)
I have some improvements in my TODO list for this module, but I prefer to do it when I have some suggestions from the community.
Comment #7
zzolo commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #8
avpadernoAs per previous comment, I am setting this issue as Won't fix.
Since new users can now create full projects, applications have a different purpose and they are handled on a different issue queue. See Apply for permission to opt into security advisory coverage for more information.
Comment #9
avpaderno