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

Developing a file version module

Folks-

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?

populating #type =>select from mysql

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!

Please help: modify user role table in db but change doesn't take effect in drupal until I resave access control settings - why?

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).

how to give name to create content in drupal

hi
i am new to php and want information for how to give name to create content please help..

Render page without links

I there an easy way to render a page without links,
or set a target for all links?

I could do this with php using a regular expresion, but I was wondering if drupal has something in the api for doing this sort of thing.

Multipage form with captcha element

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!

Pages

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