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?
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?
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 . But I can not make the image display in the theme function. I have tried to do something like this:
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
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?