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've got my first module working now.
I want the user to enter a number in a form field. The only field I see to use is form_textfield. But I don't want to save the value as a string, I want to save it as an int.
I'm developing a filter module, and I can't get it to apply to all output. It appears to only apply to items as they are entered. If I make a change in the module, it won't show up in existing items but will when I enter new ones. Is this the way the system is supposed to work, or is there a way to filter all output?
I just found this cool plugin for wordpress and was hoping someone here could turn it into a drupal module... or point me in the right direction to figure it out for myself.
Hi,
Is there a way to access the complete http-header which is sent to the webserver, when a user clicks on a link somewhere on my drupal site, from 'inside' a normal self written drupal module?
I need this, because i got to render parts from an external website into a drupal page. This external Page requires cookie based login.
Anyone ever worked on portal-like features - or anyone can tell me which cms already has some build in mechanisms to hook in other webapplications?
regards, borghart
A quick question. In Drupal 4.5.0, you can set the file size limits in the upload.module. Does anyone know how to do this this when using flexinode with file attachment enabled? I want to prevent users from uploading big files. Flexinode only permits one file upload per node, which is great. But I want to control the file's size as well. Any ideas?
Basically, I am interested in having two registration paths. ie. Registration for 'Role A', and a different registration for 'Role B'. To simplify things, a user can only be in Role A or Role B and not both ;)
Is this a hard task? I've searched the forums but didn't find much information regarding this. Does anyone have any suggestions before I start hacking out code ? (I always ask first, I can't tell me how many times advice from this forum has saved me countless hours)