Commit 7eda3ef1 authored by kiz_0987's avatar kiz_0987

Changed INSTALL.txt to remove inclusion of css from theme dir (no longer available)

#61507 Fixed missing require of gallery_user.inc
parent 4b1be46a
......@@ -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.
......
......@@ -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');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment