diff --git a/INSTALL.txt b/INSTALL.txt index a8e36636d0cb2f932564c2788abaf365cb5e1069..29a6ed6652b38cbd676ed0b33a7eab5ee1814d5a 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 b159e2ab5def9203cdb1d69d1dff7fb0dfa5153c..3dfd57bb4c482455f36542ceb4c036a297edafac 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'); } }