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

Uploading files

Hi guys,

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?

Module to choose whether external links open in new window?

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.

Creation of custom table - proper methodology?

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.

Profile picture wont uploade

Hi there,

im trying to upload profil picture, but somehow, it constantly writes: The uploaded file was not an image.

Even though i the picture is with the right resoulution and picture size...it wont function. Any help?

Can some one tell me, how i solve this problem?

thanks

/roma

PAM_Authentication

hi everybody,

i Know already about the PAM_Module from Mirek what works for the older version drupal 4.1....
http://ui.upce.cz/~mirek/pam.module

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.

Modifying the title of "Title:"

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?

Thanks!

Pages

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