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

drupal 4.6.3 + Gallery2.0.1

Please help with yet another integration problem, I tried to do my "homework" but I still cant get it working. New to drupal and php in general.

error when accessing www.jaynesfamily.net/gallery:

>Unable to initialize embedded Gallery
>Unable to initialize embedded Gallery
>You need to configure your embedded Gallery

My install:

fresh Drupal 4.6.3
fresh Gallery 2.0.1
both ok as standalone

How to tell if a node exists?

Is there a function to determine if a node exists? I could use node_load, but I'm not sure what it returns if a node has been deleted, and I don't actually need to load the node in this case, only to make sure it hasn't been deleted.

As a side note, is there a way to easily determine another node's type without loading it?

Thanks,
Aaron

Culture Fix Web Identity & Design
Digital Folk Art (my blog)

upload to free image hosting

request for a module that allow us upload images to free image hosting.
for example, like imageshack.us, etc...

this way, users' upload images will not take any space on our server.

rgds,
rex

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.

Pages

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