summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkiz_09872006-05-04 10:34:02 (GMT)
committerkiz_09872006-05-04 10:34:02 (GMT)
commit7eda3ef194df5103879e64f2baa5a93461c45663 (patch)
tree12ee24d71f21b8a16df555a08b70226d1de91692
parent4b1be46ad2df85938cf8d67863f9d8135648395d (diff)
Changed INSTALL.txt to remove inclusion of css from theme dir (no longer available)
#61507 Fixed missing require of gallery_user.inc
-rw-r--r--INSTALL.txt9
-rw-r--r--gallery_base.inc2
2 files changed, 5 insertions, 6 deletions
diff --git a/INSTALL.txt b/INSTALL.txt
index a8e3663..29a6ed6 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -48,16 +48,13 @@ Optional Steps
potential session problems, use the tolerant base_url patch in your
drupal settings.php file. See http://drupal.org/node/6554
- 2. Themeing. If you want to, you can add your own drupal_g2.css file in your *drupal* theme dir
- and it will automatically be loaded after the one in the gallery.module dir.
-
- 3. Sidebar. Go to your G2 site admin and include the blocks you want in the sidebar (under
+ 2. Sidebar. Go to your G2 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.
- 4. URL Rewrite.
+ 3. URL Rewrite.
- 5. g2image. If you install g2image http://g2image.steffensenfamily.com as either a standalone or
+ 4. g2image. If you install g2image http://g2image.steffensenfamily.com as either a standalone or
TinyMCE plugin you will have an excellent image chooser for Drupal/Gallery2. The
configuration is automatic when you hit the "Save configuration' button on the gallery
settings page.
diff --git a/gallery_base.inc b/gallery_base.inc
index b159e2a..3dfd57b 100644
--- a/gallery_base.inc
+++ b/gallery_base.inc
@@ -92,6 +92,8 @@ function _gallery_init($full = false, $vars = null) {
}
} else {
// No matching G2 user found -- create one.
+ $path = drupal_get_path('module', 'gallery');
+ require_once($path . '/gallery_user.inc');
return gallery_modify_user($user, 'create');
}
}