This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Custom validation function for a system settings form

Hi,
I'm new to writing modules, and at the moment I'm stuck on this: For the settings page for the module, I have created a form with one field, which is a textarea. In this textarea, I want the admin to enter a list of email addresses, each on its own line. Then, naturally, I want to run the submitted form (actually just this field) through a custom validation function.

What does Drupal.settings do?

Hi,
At http://api.drupal.org/api/function/drupal_add_js/5 I read:

Add settings ('setting'): Adds a setting to Drupal's global storage of JavaScript settings. Per-page settings are required by some modules to function properly. The settings will be accessible at Drupal.settings.

Fields Format

Goodmorning,
I need to know the format of the database fields Created,Access and Login in the table "users". I need to print it in "uman" system.

Thanks.

Multiple CCK Textfields

There's a feature request for my Problem: http://drupal.org/node/81197

I wan to dynamically add textfields to a node (similar to multiple images). It doesn't even have to be an AJAX solution.

I can't wait for D6 as the project is going to run with D5. I just can't imagine, that nobody already got a finished piece of code. I would be really glad.

Anyone up for a challenge?

I'd like to find a way to use the profile tools to do a long survey of readers AND have answers to each particular question be its own content type or at least be able to be returned by a views like module and/or a tracker/recent like module. In other words, I'd like to be able to take question #11, or whatever, and highlight all the recent responses to question #11, and have users able to search through and read all the answers to any of the questions without having to look at them separately through looking it up in each user's profile. Does that make sense?

Nodereview, anonymous users

Is there a way to allow multiple anonymous users to submit reviews with the Nodereview module? (I'm using the 4.7 version). Right now two anonymous users cannot submit a review for one and the same node.
Or if not, can anybody suggest a voting/rating module that would work well with CCK nodes and wouldnt require users to log in?!
Cheers!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions