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

Creating a FORM for every NODE

I have been stuck on this for quite a while now.

I have some nodes which I pick out through a query.

I want to display these nodes in a customized way and associate a set of radio buttons to each node.
The user will then chose a radio button for every node displayed and finally submit the form.

I wont go into the details of the module that I'm developing, but this is basically what I am stuck on at the moment from a couple of days and cant think of anything.

How can I go on about this? I would really like to load each node with node_load default functions and then associate the radio buttons to each node.. but I dont see how I could integrate this into my module.

Another thing would be to use the theme's templates by declaring a node-mynode.tpl.php template... but then how do I hook up the radio buttons to each node??

I'm confused on other ways as well: like the form_alter hook or by ovverriding the theme_form method.. I dont know how to access my form values exactly and if this is the correct way anyway..

To give you an idea of the code structure:

  • I have a multistep form (the form generating function is implemented through a switch/case on the
    $step

    number

  • in step 2 I generate a number of nodes according to parameters given in step 1

Simplemenu help?

Hi, I am brand new to drupal and am still trying to learn. I used simple menu for dropdowns on my site, but it only appears when i'm logged in as the administrator. Does anyone know why this is happening? any insight will be appreciated. Thank you.

Chatroom Module - lagging?

Are there any recent updates to the chatroom module? Right now, the chatroom module i'm using is lagging. Members are complaining about how much the chatroom is lagging as well as having difficulties accessing the link (me included). I click on my chatroom link, and there are times when the chatroom will not load. Can I now use phpfreechat with Drupal???

Please help to fix these issues. The chatroom is vital to my site.

Thanks,
CH

Chatroom Module - lagging?

Are there any recent updates to the chatroom module? Right now, the chatroom module i'm using is lagging. Members are complaining about how much the chatroom is lagging as well as having difficulties accessing the link (me included). I click on my chatroom link, and there are times when the chatroom will not load. Can I now use phpfreechat with Drupal???

Please help to fix these issues. The chatroom is vital to my site.

Thanks,
CH

Chatroom Module - lagging?

Are there any recent updates to the chatroom module? Right now, the chatroom module i'm using is lagging. Members are complaining about how much the chatroom is lagging as well as having difficulties accessing the link (me included). I click on my chatroom link, and there are times when the chatroom will not load. Can I now use phpfreechat with Drupal???

Please help to fix these issues. The chatroom is vital to my site.

Thanks,
CH

how to install tinymce?

I have been trying to install tinymce without success. Just to give you an idea of how I feel about it at this point, the folder I am keeping my tinymce zip files in is named "tiny hell".

I have found a couple of different sites that give instructions and they both say different things. I have drupal 5.2, tinymce 2.1.2 and the 4.7 version of the tinymce module.

Pages

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