|Posted: Thu, 2009-02-19 17:06|
I have a multisite setup, where I want to use Gallery2 in one of the sites.
I have Gallery2.3 setup in '../webroot/gallery2/' and have setup the multisite copy in '../webroot/gallery/', as well as in '../webroot/sites/gallerysite.com/gallery2/'.
I've installed the Drupal 6 'gallery' module and in the settings it says this:
Gallery2 locations OK The Gallery2 location settings appear to be correct.
Drupal Modules / Gallery2 Plugins Error You may have some loss in functionality in your embedded Gallery2 (see below for details). You should check the details and if the functionality is not important for your site you can just ignore this.
Clean URL / URL Rewrite Warning
Initial User Synchronization Error
Sometimes it will say there's a problem with my location and that I should install gallery within Drupal. I don't have a 'drupal' folder. My setup is the kind where Drupal is installed at webroot, rather than in a sub-directory.
I don't have a full understanding of mod-rewrite and htaccess rewrite rules. My phpinfo doesn't indicate that a mod-rewite module is installed, but my webhost says it is. It appears that this is so you can implement virtual URLs or have the URLs appear differently than what actually exists on the webserver.
So to use this, I would need to create an htaccess file in gallery2 full of patterns for translating URLs, but I don't know what those patterns should be. This file also needs to be compatible with the htaccess file at webroot.
In the Gallery2 admin, the URL rewrite, Ffmpeg, ImageMagick, and NetPBM plugins are all inactive.
Gallery2 seems to work OK, and I don't know if I need URL rewrite or the other plugins.
So my questions are:
Assuming my install is OK, how would I go about adding Gallery content into a Drupal page?
Do I need to start with creating a 'gallery' content type or block?
To build a site this way, I need to customize a theme and embed gallery2 into it. Why not just customize the gallery2 theme and use it directly, rather than embedding it into Drupal?
Is it to give Drupal control over the theme, so with multisite, you can skin the same Gallery2 in different ways, as well as have a wider selection of themes you can use?
I'm using a Linux Apache/MySQL/PHP setup.