Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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?
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.
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?
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.
I have a AJAXy script running with prototype on an install of druapl. I've got it working fine in Firefox but it doesn't work on any other browser (IE, opera, safari). Rather than displaying an error it just doen't rendar the page at all!
It'd be great if someone could help me out - I don't know where to start!