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

Best way to make a small modification to upload.module?

Hi, I am just starting with Drupal, and I find I want to alter the table outputted on node pages for the core upload.module. I want to add a "view" link next to each download (only for a certain file extension though), which launches a new browser window and displays this file in that new window.

What is the best way to do this? Should I make modifications to the core upload.module file, or is there some smarter way to go about it?

No menu's expanding in admin...

Hi everyone,
I'm new to drupal en cms but this is a wonderfull world for a php beginner like me.

I'm builing a website for a rockband and when i first presented it to a member - not much of a technical sort op people - it became a nightmare, ... :( when i entered the admin/"create a new form" the menus were not expanding at all and the page returned to the top. On my own computer i test on firefox an IE7 and everything goes smooth...

Needless to say I was was doing this demonstration on IE6 (on his computer)?

Theming forms

When theme_form is used, it removes field values in $form_values as form_submit parameter. Is it a bug? (Drupal 5.1)

why is my image not shown in IE?

I have just started to develop my own module, and I liked the first steps so far.
Currently, my module shows some text and an image in drupal's content area.
Both is looking fine in firefow, but in IE the picture is not coming out.
Is it because the picture is so wide that it overlaps with the right-hand-side navigation?
What can I do to make the picture visible in IE as well?

solution for weighted stories w/Views--ideas welcome

I have a client that's requesting to have the ability to weight story nodes for use with Views. Stickies alone do not give him the control he seeks.

I've done some looking around, but haven't found much in the way of information or discussion. One module does exist (I believe called "Weight"), but it--by the author's own admission--is somewhat of a hack.

Checkbox[es] & Forms API

Figure I'm doing something really stupid so I thought I would post to see if anyone could point out the (hopefully) obvious to me. I have created a module specifically for a special form I've made using the Forms API. In the form are two boxes, each of type checkbox which the user can select. My problem lies in trying to validate and read the submitted contents of the form. I cannot see anything coming back from either checkbox.

Pages

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