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

image.module (4.6) can't add picture to gallery.

Hello.

There is no way to add picture to gallery.

And the gallery doesn't show up on the menu.

(I can create image taxinom/category, but thats another thing)

call to node_add from module?

I'm trying to find a way to add an image node within the creation of another type of node. I think the following code will (sort of) work, but I don't think it's the right approach. (Unfortunately, I also need the nid returned, so this won't really work.)

	$output = '';
	$type = 'image';
	if (in_array($type, node_list()) && node_access('create', $type))
	{
		$output .= node_add($type);
		print theme('page', $output);
	}

Is there a better way to do this?

Thanks,
Aaron

Mozdex.com search module

Howdy!

I'm looking for anyone interested in building a mozdex.com search module that incorporates the OpenSearch RSS feed to allow search blocks and results within drupal.

If anyone is interested in what should be a straightforward module, we will feature you on our home page for a month.

http://www.mozdex.com

You can follow our developer link to get instructions on the feed as well as lookup OpenSearch to find out more on OpenSearch 1.0 spec/rss feeds.

Creating a Prototype for a Property Listing Manager module

I am writing a module that will create a node that includes a mini-gallery of images. Its primary intended use will be for displaying "Featured Properties" for real estate sites. If there's interest, once I've gotten it working, I'll post it here for other developers.

I originally had planned to use a flexinode, but it just wasn't doing what I wanted. Most of the functionality (as it stands now) comes from the Image module, although I have some questions (later in the post) about how to integrate with that module.

An authorized user ("agent") will be able to create nodes of this type. They will add the specific details of the property (address, town, type of property -- duplex, two-story, etc. -- features -- garage, basement, etc.). After these are entered, they will be able to upload one or more images associated with the property.

Ideally, I would like to have an "upload" button on the form (which flexinode gives). However, after one image has been uploaded, I would like to allow an indeterminate number of images to be added as well. I could set an arbitrary limit, such as 4 or 8, and set up the appropriate fields, but that seems like a kludge.

In addition, I want to be able to have more control about how to display the node. For instance, to show one image at its "preview" size, with the others at "thumbnail" size.

I've been studying the Image module for inspiration, and have set up a database table that will hold an unlimited number of associated image nodes with a property. One of these can also be designated as the "primary image" (the first being the default).

URL Aliases... with file extensions

Has anyone successfully created URL aliases with file extensions? i.e. http://www.foo.com/bar.html is an alias to http://www.foo.com/node/1.
I know I can do with this with mod_rewrite in Apache (I'm assuming Drupal's aliases are leveraging this) but I'd rather not throw together some kludgey hack.

shoutbox without iframe

is there any shoutbox module that do not depend on iframe?
that can really integrated into drupal in the blocks?

tnx&rgds,
rex

Pages

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