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

how the crap do I use drupal_get_form

I'm using a form within a custom module and I have a line: return drupal_get_form('search-multilist', $form, 'mlsfeed'); where I specify 'mlsfeed' as the callback bc i dont want the form posting to the same page. I don't exactly get what the callback is looking for. I created a function called mlsfeed_submit() but I couldn't get that to work exactly, maybe I was suppose to have parameters for that function. I ended up just returning "search-multilist" which for some reason redirects to that page. Of course that destroys all the post values. What do I do?

Using upload.module on non-node types

Hi!

I'm trying to create a non-node module(to integrate a Drupal site with an existing system). In this module I would like to use an upload field to upload images.
I was thinking if is possible to use upload.module with my module. Yes, I know there is a field type to upload, but I want to upload multiple images at same time.

Does anybody knows if it is possible and any clues to do that?

Thanks a lot!

--
Rafael Ferreira Silva
http://www.rafaelsilva.net

Displaying images in story-type modules.

Well I'm a newbe trying to make a simple storynode type module for adding and displaying art. I have used the node_example.module. I also save the images in Mysql database. Adding node and uploading image to the database works. I display the images with a external php script and can view it in html. ex. node 77 Only local images are allowed.. But I can not make the image display in the theme function. I have tried to do something like this:

how do I overwrite the redirect to frontpage after node delete

I am working on a node based module to create and delete mailman mailing lists.

I'm trying to redirect the user back to either where he came from or a specific listing (path xyz/abc) after a node of has been deleted. I cannot see from the code or the API where I would have to put this. Is there a way to do this?
Thanks

Arrows locations in module Vote up/down

Drupal Vote up/down Package:
---------------------------
Author - Fredrik Jonsson fredrik at combonet dot se
Requires - Drupal 4.7

How I can control locations for display arrows for this module? I need to do something like this:

<table>
 <tr>
  <td>here must be arrows</td>
  <td>add new comment</td>
 </tr>
</table>

How can I change the sort order for the upload module attachments?

Is there a way to change the sort order of the files listed on a page? I've got several files that are listed and available for download. I'd like to be able to organize the list so that users can quickly scan the list to find the desired file. Can I do that within the upload module?

THANKS!

Pages

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