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

How to create a node without forms i.e. no user interaction?

For example, in an app I am developing I have two people nodes and they get married, so i have all the info I need to automatically create a new node wich is an alias for the female node with her new married name, without any forms, i.e. no interaction with users. So I tried to call some functions to insert the new node:

Query on Host Setup after Installing QTopia 2.1.1

Hi

I am new to QTopia & Qt-embedded. I want to do the Host setup to run application on Embedded Board Housed with ARM11 processesor so what are all the priliminary necessasities i have to concentrate .

Thanks In advance
Doddamane N Shashidhara

A complex problem about form

I made a content type in Drupal but not node.

I built a huge form for user to create this type of content. Now I want to use a multipage form. But the example from drupal.org is for a node type. I do meet many troubles with the example. Is there another good example for creating a multipage form in drupal?

Another problem is that I have to store everything in session before the last submit(it is a requirement). But there are some input file(for uploading) fields in the middle pages. How to hold the file local path and then upload them later?

thanks a lot!

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:

Pages

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