An old cave filled with thoughts on old school fantasy RPGS and their simulacrum like Dungeons and Dragons and Labyrinth Lord.
GOOP Gallery 3 Drupal Demo
21 May 2008 05:33:44
Category: GOOP Gallery
I'm continuing to test GOOP Gallery 3 for portability. This time I tested it as a Drupal 6 Module. It worked flawless with no modifications outside of the config file.
I placed the following two blocks in a directory called gallery and created a gallery.module and gallery.info file. I then placed the gg3 code into the same directory. The only thing I changed in gg3 was to set GG_Config->return_gallery to true. The Info file:
Edit: Here's a screen shot:

I placed the following two blocks in a directory called gallery and created a gallery.module and gallery.info file. I then placed the gg3 code into the same directory. The only thing I changed in gg3 was to set GG_Config->return_gallery to true. The Info file:
name = Gallery description = Implements GOOP Gallery inside of Drupal. package = Core - optional version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2008-04-09 version = "6.2" project = "drupal" datestamp = "1207776008"The module file:
'Gallery',
'page callback' => 'gallery_main',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
'file' => 'gallery.pages.inc',
);
return $items;
}
function gallery_main()
{
include(dirname(__FILE__).DIRECTORY_SEPARATOR.'gg3/GG/Init.php');
$gallery = GG_Init::main();
return $gallery;
}
Edit: Here's a screen shot:









