I was curious if anyone actually had a full working embedded Gallery 2.3svn / Drupal 6 site?
There seem to have been a lot of updates to both the stand alone and embedded versions lately, and after seeing many many posts with people having issues with the Gallery URL Rewrites and embedding it into Drupal, I was wondering if anyone had successfully accomplished an integration yet, and if so, could they post their steps and .htaccess files for us to all compare with our own. Cause I believe the problem lies within those 2 files and there is some sort of conflict between the two.
Thanks ahead of time!
jeremy
(p.s. yes I have fully read and re-read and re-read many times all the installs and posts and updates and everything else...)
Posts: 1
I have tried install D6.1 + G2.3svn + G2,
my case is install in UserDir, please adjust the path for your needs
hope my install steps are what you need.
1. Install D6 under ~/public_html, DO NOT enable 'Clean URL' at this moment.
2. Install G2.3svn under ~/public_html
3. Create symbolic link in D6 directory to G2 directory, let D6 to access embedded G2
(in drupal directory : ln -s ../gallery2 .)
4. access G2.3svn under D6 directory (http://domain/drupal-6.1/gallery2), config G2.3 plugins:
i. Disable Registration
ii. Config and Enable URL Rewrite with apache setting
==> At this point, G2 under drupal directory has 'Clean URL'
5. Install D6 gallery module,
Before Installation, please chmod .htaccess in drupal dir to 666
A. there are 4 fields in location setting
i. G2 URI : /~user_name/drupal-6.1/gallery2/
ii. G2 fs path: /home/user_name/public_html/drupal-6.1/gallery2/
fs path should give absolute path, to ease the g2image installation
iii. embedded URI: /~user_name/drupal-6.1/index.php?q=gallery
usually the default one is correct already.
iv. Gallery base: gallery
just default value
B. URL rewrite
Usually the default value is ok, in my case
Public path to your .htaccess file: /~user_name/drupal-6.1/
Filesystem path to your .htaccess file: /home/user_name/public_html/drupal-6.1/
C. User Sync
Do as normal.
6. Enable D6 Clean URL
If system do not allow you enable it:
go to .htaccess under D6 Directory
change "RewriteBase /" to "RewriteBase /~user_name/drupal-6.1/"
Enable Clean URL and everything goes fine.
Finally please chmod to protect your .htaccess under D6 directory.
Posts: 14
Hey thanks a lot for the very detailed install. I plan to try this out tonight and see how it goes. I will report back my findings!
Thanks again.
jeremy
Posts: 14
Well I went through all of it, and so far so good. One thing I had to do though was SKIP the URL rewrite in the embedding Gallery set up. Then go into the embedded Gallery set up and set the paths in there in the URL rewrite, because I wasn't being give the options during the embedded installation.
Now, the gallery seems to be embedded for the most part, but DRUPAL is not allowing me CLEAN URLs even those I changed the .htaccess file to point to the site. Still telling me "disabled". I know mod_rewrite is working properly cause Gallery let me install it on the stand alone just fine.
Messing around with it more to figure out...
Posts: 3
Yes, my D6, G2.3, G2 is all working nicely, except I can't get the g2image icon to show up even though it says it's installed properly.
Posts: 3
I just took a quick look, doesn't look like my URL rewrite is working either.
Posts: 14
Ok I have pretty much everything working now. The .htaccess has a lot to do with it. After getting that sorted out, I am able to click on images and they show up like they should, BUT, they redirect to a page that removes all Drupal menus from the top and side of the page. I have a feeling this is still a re-direct path issue.
Here are my TWO .htaccess files. One is the Drupal file that is in the Drupal root dir. The second is the Gallery2 file that is in /gallery2/ root dir.
Then here is my Gallery2 .htaccess file
Posts: 6
deleted: wrong forum!
Posts: 14
I have go it work in D6.2 but I have problem to get the full size image open in new window as it mess up my Theme
http://kurdistanica.com/?q=gallery&g2_itemId=57
I think the G2 dev team has done great job and I can not figure out how they have missed such a basic function. Sometimes the full version is a 1200x1400 for maps, and detailed images. I hope that they will consider to add this feature to the setting for full size image display.
Posts: 4
No doubt a lot of work has gone into integrating g2 with drupal, but after 2 days of adjusting this chmoding this, resetting that, .htaccess rendering some site parts unfindable, moving files etc. I give up. I will revisit g2 another time. It's been 2 days of solving problems that didn't exist prior to the installation, mostly just making sure that the main drupal site wasn't destroyed just to get another module implemented. It's a great idea and I hope the work will continue, but right now it's a too involved, instructions are confusing and I already have a job.
Posts: 14
My Drupal 6.3 works great with G2.3 RC1 but I am getting crazy with the full size image opens in my Drupal them and mess up every thing. The G2 team has not solved this problem even in G2.3 RC1. It should be a simple tick-box to select whether the full version should be open in the same page or new window. This has stopped me to full use G2 as many or my record are full size maps.
Then the case that you can say if the image is taken prior to 1970. This is very annoying and it is still a problem in latest RC1.
Posts: 808
Do you have Gallery Menu Module enabled? There appears to be a bug in that module that is causing the blocks, main, and secondary links not to appear.
I also have a multisite D6 G2.3 install going.
http://photo.lvthunder.com
http://cabin.lvthunder.com
Posts: 1
I just installed Gallery2 [6.x-1.x-dev] on Drupal 6.6
The one problem I am having is the same as described above:
http://dev.craigshoemaker.com/gallery - the G2 main page, displays the menus
But when you click on an Album to view, the top navigation and sidebar menus do not display on the page ...
http://dev.craigshoemaker.com/index.php?q=gallery&g2_itemId=18
Does anyone have a solution for this? I am new to Drupal so I may be missing something obvious!
Posts: 6
I have Drupal 6.6 and installed Gallery2. After trying to implemnt gallery2 into my site all my site pages go to 404. Nothing works, I can't even log in to admin panel in my drupal site. Gallery2 is still working fine as a standalone.
Any ideas anyone?
Posts: 808
Well move G2 into a new folder. That will cause the Drupal module to not find it and it should restore your Drupal site. I would then turn off clean URL's and move G2 back and see if that works.