I am requesting CVS access so I can release and maintain UberPOS, a module that provides a point of sales interface for Ubercart.
The module is available at: http://uberpos.com/node/7
More information is available at that site.
It can also be demo'd there.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | uberpos-08-24-09.tar_.gz | 8.26 KB | slip |
| #2 | uberpos-08-23-09(2).tar_.gz | 11.88 KB | slip |
| #1 | uberpos-08-23-09.tar_.gz | 11.88 KB | slip |
Comments
Comment #1
slip commentedHere's the module as an attachment!
Comment #2
slip commentedWhoops, attached a slightly old version.
Here's a the recent one.
Comment #3
ConnorK commentedMinor comment. Only had a quick lookover of the code.
Between lines 247 and 356 of the .module, you're unnecessarily using double-quoted strings compared to your use of single-quoted strings all throughout the rest of your code.
versus
Maybe fix this to keep consistency?
Comment #4
avpadernoComment #5
avpadernoAdd a second submit button.
t()is available during installation of a module, as Drupal executes a full bootstrap, in that case.There is a Drupal function to use in the case you need to load a file of another module.
That is not the way a theme template is used.
That is all code that belongs to a theme, not a module.
Comment #6
slip commentedConnorK,
Good point on the quotes. I'll fix that up.
KiamLaLuno,
Thanks for the feedback!
1, 3, 4, 5 OK
2 I'll do my best. I did it that way because of some tricky js I needed to implement to print part of a page. There should be a way tho...
6 OK, found module_load_include
7-9 Maybe you're right. I'm not sure tho. I was following print.module's example because I wanted to avoid the theme. Essentially people using this will not want any theme (in most cases). Point of sales systems generally take up the entire screen. If I understand you, I'd have to create a 'nothing' theme to output the content in. Then I think confusion would arise as non tech shopowners would have to switch between themes when views their site/using their POS. Or they would have to have two separate user accounts with different themes set. I wanted to avoid that.
What do you think? The way I see it, doing it through a theme would add confusion, while doing it the way I'm doing it is at least a tiny bit standard, as the print module does it this way (not standard enough?).
Thanks again for the quick responses.
Comment #7
avpadernoThe module you are referring has a different purpose. The pages shown by print.module are thought to be used for printing.
In the case of your module, removing the output generated by Drupal, or third-party modules (and changing how the page is rendered) is not desired.
Comment #8
slip commentedPlease take a look at the new version attached. I believe I've addressed all of the issues mentioned about.
Comment #9
slip commentedforgot to change the status.
Comment #10
slip commentedIs there anyway I can help speed up the CVS application process? I guess I could help out reviewing other apps???
I know you guys have over 80 open applications because there's so much interest in starting Drupal projects, so I definitely understand the delay. I'm planning on giving presentations soon to a couple Drupal groups on UberPOS and I'd like for it to have a project page.
Comment #11
avpadernoIt seems a new line character slipped in.
It would be better to use
db_query("SELECT nid FROM {uc_products} WHERE model LIKE '%s'", $input).Schema descriptions should not be passed to
t()anymore.Comment #12
slip commentedThanks!
Comment #15
avpaderno