INSTALL.txt 2.64 KB
Newer Older
1
$Id$
2

3 4
HELP
----
kiz_0987's avatar
kiz_0987 committed
5
For more help, check out: http://drupal.galleryembedded.com
6

7 8
Requirements
------------
kiz_0987's avatar
kiz_0987 committed
9
Gallery2.1 (or above) installed and working (see http://gallery.menalto.com)
10 11
Image Block module installed and activated in Gallery2
Image Frame module installed and activated in Gallery2
kiz_0987's avatar
kiz_0987 committed
12
Drupal 5.x
13
gallery.module
14

kiz_0987's avatar
kiz_0987 committed
15 16 17
Note that this module does not provide any photo/album functions itelf, but uses
Gallery2 (http://gallery.menalto.com) to provide this functionality.

18 19
Installation Instructions
-------------------------
20

kiz_0987's avatar
kiz_0987 committed
21
1. Install Gallery 2.1 and Drupal 5.x (see their respective installation
22 23
   documents).  
   
kiz_0987's avatar
kiz_0987 committed
24
   ***Warning*** - Do not name your Gallery2 directory "gallery", call it something else 
25 26
   (eg "gallery2"). Calling it "gallery" will cause a conflict with the Drupal gallery.module 
   as Drupal assumes that http://www.example.com/gallery refers to the Drupal module.
27

28
2. Ensure that "Image Block" and "Image Frame" modules are installed and activated in Gallery2.
kiz_0987's avatar
kiz_0987 committed
29 30
   Check them in the non-embedded Gallery. See 
   http://codex.gallery2.org/index.php/Gallery2:Download for instructions to download it 
31
   if it was not included in your installation.
32

kiz_0987's avatar
kiz_0987 committed
33 34
3. Log out of Gallery2 (non-embedded) - people have reported errors relating to sessions if this 
   is not done.
35

36
4. Copy the entire gallery module directory to your drupal modules/ directory.
walkah's avatar
walkah committed
37

38 39
5. Enable the gallery module in administer -> modules in your drupal
   installation.
walkah's avatar
walkah committed
40

41
6. Go to administer -> settings -> gallery and enter the URI of Gallery2. 
42 43
   Leave "autodetect" selected and click "Save configuration". A series of tests will run to check
   if everything is OK. There is a HELP link.
walkah's avatar
walkah committed
44

45
7. Enable the "Gallery Block" in administer -> blocks, and optionally the "Gallery Navigation"
kiz_0987's avatar
kiz_0987 committed
46
   block and the "Gallery Grid Block".
47 48 49
   
8. Enable the "Access Gallery" permission for the roles that you want to be able to see the gallery
   and gallery blocks. Go to administer -> access control.
walkah's avatar
walkah committed
50

51 52
Optional Steps
--------------
kiz_0987's avatar
kiz_0987 committed
53 54 55 56
                       
 1. Sidebar.     Go to your Gallery2 site admin and include the blocks you want in the sidebar
                 (under Themes). I use "Item Actions" and "Album Quick Links (DHTML)". To use 
                 the latter you need to have installed the Album Select module.
walkah's avatar
walkah committed
57

58
 2. URL Rewrite. 
59
 
60
 3. g2image. If you install g2image http://g2image.steffensenfamily.com as either a standalone or
61
             TinyMCE plugin you will have an excellent image chooser for Drupal/Gallery2. The
62 63
             configuration is automatic when you hit the "Save configuration' button on the gallery
             settings page.
walkah's avatar
walkah committed
64

65 66
Troubleshooting
---------------
kiz_0987's avatar
kiz_0987 committed
67
See http://drupal.galleryembedded.com