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

Accessing the content of a form_select with multiple selections

Hello,

I have a simple question. In fact it is so simple that I am very surprised not to have found the answer anywhere in the forums. I just need to know how to get the result of a form_select when multiple selections are allowed.

Normally the answer would be $node->name_of_my_form_element but that doesn't make sense in this case because there must be multiple values. I tried $node->name_of_my_form_element[$i] as well, and this does not yield results.

Just one custom field type addition to profile.module?

I am new to drupal and php, and if there was relevant information to my question posted elsewhere in the forum I couldn't find it.

Help with buttons in forms. How do I get a button to actually do something?

I'm very new to module dev in Drupal. I've used hook_form to create my custom fields and one button. I need the button to execute a function defined in the module when it's clicked. Can someone show me how to do this?

thanks

duggoff

Access rights to edit all nodes of a node type

How can I give a role the rights to edit every node of a node type without enabling 'administer nodes' in access control? My intent is to allow some roles administrative rights over specific node types (ie: a flexinode type) without giving them universal node editing rights. Out of the box Drupal only allows a role without 'administer nodes' rights to edit its own nodes rather than all nodes of a type.

What's the best way to do a directory/portal?

We're wanting to have an online directory where people can submit websites. What's the best way to do that? I was thinking having categories, subcategories in the taxonomy of course and then using the weblink module for users to upload links. We would have someone to confirm links. Is there a module that lets you navigate through the taxonomy like you do in a typical directory or would we have to write our own module for that?

Thanks

Forms & Tablesort

Hi There
Im looking into updating the tablemanager module quite radically. As a result of starting to look through the code Im wondering if what Im about to do might already have been done. To make the admin system I'm wondering whether I can combine the functions of forms with tablesort (and then some ajax). Think a editable Excel spreadsheet and you wil get what Im thinking.

Pages

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