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

Control $submitted variable in template from a module

Hi there - I've been hacking about with the attached_node module patched up from drupal v4.7 to v5. My aim has been to be able to embed image nodes along with their body text within other nodes (e.g. a graph image as the picture and a key as a table in the image node body). This works nicely now, but I would like to avoid having the usual node info details like taxonomy terms and author/create time details in the embedded node leaving just the title and content .

Adding entries to taxonomy database properly

I want to automatically tag articles with taxonomy tags when referencing other nodes in hook_update. I have verified that I successfully retrieve all of their taxonomy terms, but for some reason neither the "taxonomy_node_save" given an array of term ids (last case in the if/elseif's) nor a custom database query to do the same thing works (the query executes successfully -- the result is printed as TRUE).

Is there something I'm missing from the taxonomy layout? here is the snippet where I make the array and then attempt the adding of nodes to the term_node table:

Custom module cq. content type

Hi all,

I am relatively new to Drupal but so far I managed to get my website using Drupal running. I want know to make a custom content type, which only comprises 1 input field. In this input field visitors can send maximum 10 words of maximum 10 letters long, and subsequently I want these words to act like tags.

So for instance

---------------
Content type: Words

Input field (comma separated words): Jack, Nadia, Willem etc.

Send button
--------------------

alternatives to form_set_error for COPPA registration module

I'm working on a module to handle a strict enforcement of COPPA during registration (no under 13s allowed to register, versus the more permissive "take this permission slip to your parents and fax it to us signed" COPPA option), based on some code nevets posted here: http://drupal.org/node/85861

unique account id

What is the unique id for each account called, that I should refer to when making relationships between accounts and nodes.

Multiple user creation (and group enrollment) - possible?

Hi,
I'm experimenting with Organic Groups for a schools site. I would like to be able to create a whole class full of new user registrations, hopefully with subscription to an organic group at the same time.
This would involve supplying a list of usernames and email addresses in say a CSV file. Random passwords would be generated and login details would be emailed to the new users.
The idea is to avoid confusion in having users signing up themselves, and to keep group membership closed.

Pages

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