I was thinking of writing a helper module that maintained named associative arrays, or mappings. It wouldn't do much itself but it would be useful to other modules (and maybe in themes).
It would have a basic admin interface and a few getter/setter-style methods, and a couple of relational tables. Each mapping would have a long descriptive name and a shorter unique name for reference, and then contain arbitrary string->string data:
Descr: Category ID to extra sub-themeing CSS file
Brief: cat_to_css
I have to state upfront that I'm a bit of a novice.
I'm having problems with spam on my guestbook. I've read many drupal nodes about how to solve this, but none of them have made any difference. Namely:
* the spam module (5.x-1.x dev) - I implemented this but the vast majority of spam has a probability of 40% spam and gets through.
* captcha-5.x-2.2 (including form_store 5.x-1.0) - once activated, all this did was to over-write part of my header-block with a maths question! Hardly what I wanted.
Hi, I'm having trouble creating subscriptions with the LM_Paypal module and Drupal 5.1.
When I install the module I get a warning that it was unable to create a "subscription table" in MySQL.
Has anyone been lucky enough to get it working. There's a bug hunt at http://drupal.org/node/152728 but it seems like no one has been able to fix the problem.
If you have been able to fix it could you please post the patched text or solution you came up with.
Does anyone know if there's a component to do addresses in webforms? I think I see how to do it but I'd hate to reinvent the wheel. What I'd really like is one where I enter a postal code and poof! the address is completed.
im trying since hours to get form_set_value() to run
but it throws always the same error
"warning: array_shift() [function.array-shift]: The argument should be an array in ...\includes\form.inc on line 849."
i also tried it with one dimensional arrays
actualy i need it for changing checkboxes after validation