I need to develop a module that lets me create a 'versioned file upload node'. So somebody can upload a file to this node type, along with a version number and some meta data (title, description, etc.) and it will store it. Then they upload a second one, with a new version number, and it stores it as well, and displays 'current version: XXX; previous version YYY' to the user.
I'm a good PHP programmer, but I'm really at a loss as to where to start... should I modify the story node type? Or use flexinodes?
I have a select field that I would like displaying name from a table that is updated often, so I need the select field to be dynamically made each time you come to this page. My work is SQL is rather recent, so I was wondering if anyone could lend a hand in how to pull the specific field from my table and use it to populate my 'select' item. I've tried to do it a few ways and they have all seem terribly complicated compared to examples I have seen in other modules, I am hoping there is a less complex method. Thanks!
If I manually update a user's role in the database or through a module, even though the user's role is recognized to some extent, the permissions that user should have with the updated role are not updated. Is this some sort of caching problem or something? I notice if I resave the access control settings, all of a sudden the user's role is updated, but obviously that isn't what I want.
Please help! How can I make drupal "refresh" so to speak the user permissions after they've been modified through a module (in this case lm_paypal).
Hi! I want to make a multipage signup form with custom fields and captcha checks in it... maybe somebody know how to do it in "drupal" way? I've tried an webforms module, it supports captcha, but it don't support multipage. When i've tried to make this form with Form API, the multipage is work well, but i do not know how to insert captcha checking there. Please help!