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 struggling with this problem for over a week now, so I think it's the time to ask some help.
I created a form with an upload field in it. Therefor I used the function form_file(t('Archive'), 'archive', 70, '', TRUE); which displays the field I expected nicely. Now the problem is, when I browse to a local file on my computer and try uploading it to the server using the submit button, nothing happens. More specific I can't find the file anywhere on the server. So the question is, how do you handle such an upload after the submit button was hit?
I know the external links have been discussed many times, but it always comes down to administator/designer choice what is best for users. Yes, (the experienced one) can open the link in a new window/tab. Still, I believe it would be a great feature to have a block with a checkbox "Open external links in a new window". Unfortunately I don't have the skills to do it myself.
I am developing a module (using drupal 4.6) to track schedules and results for baseball games. I plan to create a new table that has one record for each game with all schedule and scoring information. I thought that perhaps there would be a hook_firstrun or hook_setup or something, but only found hook_init, which isn't related to what I'm doing.
i look for a new Module for auhenticate my users via PAM which i need because all my userLOGIN-infos are organised with Kerberos.
that means i authenticate on the server or even better would be directly at Drupal via PAM-Kerberos.
I'm createing a module that provides a new node type. I'm working the hook_form and even if I leave it empty (output nothing) there is a "Title: ____" field in the node creation form. This is fine, and I understand that this field updates the node.title field, but I'd like to change how it is visually represented. I would like it to read "Business Name: ____". Is this possible?