My name is Greg Eisenman and I work for a company called Peter Glenn. We have developed two of our ecommerce sites (http://www.peterglenn.com) and (http://www.98main.com) using Drupal. We would like to contribute several of the modules we've developed for these sites back to the community.
The primary module we will contribute and maintain is an Ubercart customer service/ticketing module. This module tightly integrates with the Ubercart ordering system and Drupal contact form so that users can submit issues and have them tied to specific orders, which can then be viewed and modified in the admin order view and also the issue view forms.
We associate and display useful customer information with each ticket, such as number of orders, total volume of sales for that customer, last order date, etc.
We also have several contributions to existing ubercart related modules.
I am requesting a CVS account so that we may create a Drupal.org project for our ubercart issue module, and any other projects we create and would like to share.
Regards,
Greg Eisenman
Developer
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uc_ticket.tar_.gz | 15.17 KB | Anonymous (not verified) |
| #1 | uc_ticket.tar_.gz | 15.76 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedcode attached
thanks
Comment #2
avpadernocheck_plain()is not used with values passed to the form API.The code should use the Drupal Unicode functions, when possible.
check_plain()is not used on values saved in the database; it should be used when the value is output on a page, if the value is not passed to the form API.The first argument of
l(), which is shown in the user interface, needs to be translatable.The indentation is not correct; it should be two spaces, not tab characters.
Submission functions don't call
drupal_goto().The value contained in
$templates[0]is not translatable.If you want to limit the result returned from the query, you should use
db_query_range(), which allows the code to be compatible with all the database engines.The string is not translatable.
The string is not translatable.
The string contained in
$outputis not translatable; why doesn't the code use theme functions?Why isn't the code using
url()?Same error as reported before.
The code is accessing a value that is probably not defined (
$form_state).In Drupal the strings shown in the user interface have the first word in capital case, while the others are in lower case (if they are not acronyms, or proper nouns).
Staus?
I think the cache is automatically cleared from Drupal, when uninstalling a module.
Comment #3
Anonymous (not verified) commentedThanks for the review, here are the changes/notes made by number:
New code is attached.
Thanks!
Comment #4
avpadernoAn empty string is always an empty string, in every language; there is no need to pass it to
t().The string is still not translatable. Drupal modules don't normally use such option.
Rather than calling
l(), it would be better to usetheme('image').Comment #6
avpaderno