Drupal 6 No Gallery Settings Menu

jjuhl

Joined: 2006-12-03
Posts: 5
Posted: Sun, 2008-03-09 09:57

Using gallery-6.x-1.x-dev there is no Gallery menu settings in the Drupal Home>Administer>Site Configuration>Gallery Settings page.

Is this not yet implemented in the dev version or am I missing something?

Hope this is alright to post here!

Jim

 
lexthoonen

Joined: 2006-11-21
Posts: 40
Posted: Tue, 2008-03-18 11:13

Not just the gallery menu setting disappeared at my installation, as well the 'primary links' of drupal disappeared... It makes the site useless. There's an issue though: http://drupal.org/node/229084

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Wed, 2008-03-19 10:03
Quote:
Using gallery-6.x-1.x-dev there is no Gallery menu settings in the Drupal Home>Administer>Site Configuration>Gallery Settings page.
Is this not yet implemented in the dev version or am I missing something?

The menu settings tab does indeed no longer exist in the D6 version. There is now a fieldset on the 'General' tab where you can specify the menu tree depth. Everything else can be customized through the menu administration page of Drupal 6. If you go there you will see that all G2 albums are available as normal menu items and can therefore be moved, renamed, ... as usual.
(see http://drupal.org/node/226622 for a related issue)

 
RMIGHTY1

Joined: 2008-04-06
Posts: 5
Posted: Sun, 2008-04-06 10:49

Am having difficulty getting gallery module to show up in Drupals Admin > Site Building > Modules section. Have questions about instructions from "Readme" file from G2.3svn below:

"4. Copy gallery.module to your Drupal modules/ directory.

5. Enable the gallery module in Administer -> Site building -> Modules in
your Drupal installation (admin/build/modules)."

In number 4 above, please verify that "gallery.module" refers to the FILE in the G2.3svn program and NOT the unembedded G2 program. Also, I have seen 3 different places to copy that file to which includes A. D6 modules, D6 sites/all and D6 sites/gallery subdirectories. Drupal says one thing while gallery says another. I am confused. I have been stuck here for a few days now. Nothing is working and I am doing something terribly wrong.

I got gallery (G2) and the embedder (G2.3svn) from rabinovich.org as gallery-nightly.tar.gz and drupal.tar.gz respectively on 04-02-08. The Drupal 6 program was installed by cPanel's Fantastico installer. If I understood php and Apache, perhaps this would go better for me. Thank you so very much for your help.

~~Ray Snarski :)

 
jjuhl

Joined: 2006-12-03
Posts: 5
Posted: Mon, 2008-04-07 02:35

I'm no expert and I don't think this is posted correctly but I'll give it a go.

I don't think you need to understand php or Apache to get this working. You don't say if you have gallery working outside of Drupal or not. Assuming that it is, the Drupal module gallery needs to be installed, and yes it can reside in several places and still work fine. [i]I don't know how Fantastico works but you need to extract the gallery folder that you get from http://drupal.org/project/gallery to /pathtodrupalinstallation/modules/ or /pathtodrupalinstallation/sites/all/modules/ or if you are using Drupal multisite /pathtodrupalinstallation/sites/yoursitename/modules/ The sites/all/modules is probably the best place.

Once you do that, you should see gallery show up on the Drupal admin page.

The install docs are good and if you take them one step at a time, it works.

http://codex.gallery2.org/Integration:Drupal:Installation

jim

 
RMIGHTY1

Joined: 2008-04-06
Posts: 5
Posted: Mon, 2008-04-07 06:02

Oh jim, Thank you, Thank you, Thank you a thousand times for answering me.

Yes, my gallery2 is working perfectly within the Drupal directory independently of Drupal. I have read and reread many confusing instructions for weeks now and what you just told me is the first time I have understood it this way. You said to EXTRACT the gallery module folder into the D6 modules or sites/all/modules directory! I have been reading to "Copy" it there and I have been literally "Copying" the "gallery.module" file per instructions into the D6 modules directory with no favorable result. Duh! I never thought to extract it there, sheesh! If I knew anything about programming, I would have known that all that data left in the gallery directory after copying the gallery.module file to the D6 modules subdir. would not have made sense.

I also got into a vicious circle when Drupal directs me to the Gallery transition team (for embedding) and I get the latest "nightly" svn files to d/l and install only to read in the Readme file that this code is outdated and one must now go back to Drupal for the correct code, sheeeesh!!!

This has been my worst nightmare. I agree one should not have to know php or Apache but I spent days reading about mod_rewrite on the Apache site, sheesh! The worst part is that I still do not understand it. Also after several days of trying to learn how to modify my .htaccess file, I learned I could simply turn register_globals off in a php.ini file that I make myself, sheeesh! Then I had a prob and had to add a memory line, no prob then. And I am in .htaccess files nearly everyday so I am not afraid of them, just so much to learn.

I can't wait to give it a try, but it is very late now and I must get up early so will give it a try tomorrow.

I cannot thank you enough for answering my post Jim, Thank you so very, very much kind sir!

~~Ray

 
jjuhl

Joined: 2006-12-03
Posts: 5
Posted: Mon, 2008-04-07 09:43

Ray,

Just so we're clear.

The Drupal6 Gallery module comes in a compressed file called gallery-6.x-1x-dev.tar.gz and will uncompress into a folder named /gallery. That entire folder needs to go into the /pathtodrupalinstallation/sites/all/modules/ folder.

There are a couple of ways to do this. The least techy is to use Winzip or similar to uncompress the /gallery folder on you local system and then ftp the whole folder to the correct Drupal folder your web host.

The slightly techier way if you have shell access is to ftp just the tar.gz file to the correct Drupal folder on your web host and then with shell access (usually via ssh using PuTTY) and then from the same folder that the tar.gz file is in issue the following command

tar -xzvf gallery-6.x-1.x-dev.tar.gz

It's just a little faster with a tarball with lots of files.

This is how you add any module to Drupal. It really should be easier and maybe there is an easier way that I don't know of. The way you add plugins to Gallery2 is really slick and I would like to see something similar for Drupal.

If you are interested, I have Gallery 2.2 embeded in Drupal 5.3 on my site:

http://myhreseniors.com/gallery

I have an installation of 2.3/6.1 but it's just for testing.

Jim

 
RMIGHTY1

Joined: 2008-04-06
Posts: 5
Posted: Mon, 2008-04-07 21:40

Hello Jim,

I meant to thank you also for the http://codex.gallery2.org/Integration:Drupal:Installation link.

My Gallery2 install readme file regarding embedding took me to the pages below which just added to my confusion.
http://codex.gallery2.org/Gallery2:Embedding
http://codex.gallery2.org/Gallery2:Modules:rewrite#URL_Rewrite_Embedded

Your link even has a clear explanation of mod_rewrites, sheeesh! I will follow it for my new integration attempts faithfully step by step.

Regarding installation options, I used to be a wiz at DOS but never learned Unix or Linux (yet). It is on my list of "Things to do." After painstakingly struggling with ftp uploads and chmod's I learned that within my shared webhosting control panel (cPanel) I have the ability to upload files from my computer, then better yet to be able to extract them right up on the server. You are so very right about tarballs!!! Their speed is astronomical compared to ftp uploads. Also, immensely more accurate.

Once again you have helped me in your last post perhaps without even realizing it. It was the drupal.tar.gz file I was trying to use to integrate. Please understand my confusion in starting with 2 programs, Drupal and Gallery2 and ending up with the following 6 program files:
Drupal 6.1
Gallery 2.2.4 (Full version)
Gallery 2.3 SVN
gallery-6.x-1.x-dev.tar.gz
gallery-nightly.tar.gz
drupal.tar.gz
Trust me, the drupal.tar.gz file contains gallery files, not drupal files. I spent considerable time just trying to figure out which witch was which! Additionally for whatever reason, I had the Gallery 2.3 SVN program files in my mind as the "integration" files and the gallery-6.x-1.x-dev.tar.gz program files as the main gallery program files and no, I am not dyslexic!

Now thanks to your post, I believe I have it right! Now to go and make it all happen.

I looked at your website and love it. It is a work of art in itself in its simplicity. Very well done! I also envy your photographic skills. You are indeed quite the talented man Jim. While I aspire to photography as a hobby, I never really got into it for lack of time and funds but definitely not a lack of interest.

Thank you so very much yet again for all your help, patience and understanding. As I was browsing your site, I could not help but wonder what kind of challenges lie ahead for me simply in formating the integration. Ahh, lifes little challenges. Thank you again kind sir. May our Lord richly bless you!

~~Ray

 
RMIGHTY1

Joined: 2008-04-06
Posts: 5
Posted: Tue, 2008-04-08 05:01

Voila Jim!

Made it FINALLY!!! I did use the gallery-nightly.tar.gz file as my G2.3svn as I could not find a G2.3svn file. But instead of using the drupal.tar.gz integration file, I used the gallery-6.x-1.x-dev.tar.gz one you suggested and it worked perfectly. The two integration files, drupal.tar.gz and gallery-6.x-1.x-dev.tar.gz are actually different from each other. The nightly updates ones are supposed to be a "matched pair" but no go as I installed them twice with no success during the past week. These "nightlies" I thought were the latest, most recent, hottest off the press files. Apparently not.

Overcame some minor obstacles along the way of spending much time on this. The websites I was directed to as having the latest files should not be made available to the public. As the readme in the latest files said, the code was wrong and no longer valid. It is ashame that the "http://drupal.org/node/219518" website referred me there only to be told in a nightly install file by the same website author that all my time installing those files was for naught as the code is defunct (from the nightly update files) and indeed they were. What a vicious circle I was in, sheeesh!

I was looking in the Drupal administrative modules section for the integration of the gallery module in the wrong place. I was focusing on the alphabetical entry of the gallery module in the "Core - Optional" section which was open by default between "Forum" and "Help" which is where "Gallery" would fall alphabetically. Well, ahem, Gallery shows up in the lower "Core - Required" section which was always closed. I checked it once and it did not have gallery in it. Much to my surprise, it showed up where I did not expect it, sheeesh!

The other big boogabah was all this about "mod-rewrite." Spent days reading about mod-rewrite (which I still know nothing) and it turns out the module does it all automatically for you, sheeesh!

Well, live and learn! Thank you a MILLION for sticking with me, helping me, and putting me on the right track Jim!!! Now to figure out how to use it,,,LOL! Your site sure looks nice! Keep up the good work. Well my friend, I will be seeing you again soon enough. TaTa fer now!

~~Ray

 
sarne

Joined: 2008-04-11
Posts: 3
Posted: Fri, 2008-04-11 00:18

Anyone get the G2image plugin working with the new Gallery? Mine seems to have installed alright, but the icon never showed up.

 
andydeloso

Joined: 2008-04-28
Posts: 2
Posted: Tue, 2008-04-29 00:00

hey everyone... i have gallery2 embedded into my drupal website. and, i have an album in my admin section, under the 'gallery' tab. how do i go about moving that album to my drupal home page? do i need to install additional modules? thanks, any help is greatly appreciated!