summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkiz_09872006-03-25 17:11:21 (GMT)
committerkiz_09872006-03-25 17:11:21 (GMT)
commit005a5769c01ed67797ba165a9483b41f64d31a61 (patch)
tree41e242a13face4755239d4c8141a0a52eae0ba83
parentc15e9178ae63dd88afa36bf26b8e019d0d9bcd58 (diff)
Updated g2image settings to include new g2_filter prefix setting
-rw-r--r--INSTALL.txt5
-rw-r--r--gallery_settings.inc1
2 files changed, 6 insertions, 0 deletions
diff --git a/INSTALL.txt b/INSTALL.txt
index 56e9d42..d0cf903 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -56,6 +56,11 @@ Optional Steps
you need to have installed the Album Select module.
4. URL Rewrite.
+
+ 5. 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 'submit' button on the gallery settings
+ page.
Troubleshooting
---------------
diff --git a/gallery_settings.inc b/gallery_settings.inc
index 782408c..134479d 100644
--- a/gallery_settings.inc
+++ b/gallery_settings.inc
@@ -931,6 +931,7 @@ function _gallery_g2image_settings_form_validate(&$form_values) {
$content .= '$g2ic_gallery2_uri = \'' . $form_values['gallery_uri'] . '\';' . $cr;
$content .= '$g2ic_embed_uri = \'' . $form_values['gallery_embed_uri'] . '\';' . $cr;
$content .= '$g2ic_drupal_g2_filter = TRUE;' . $cr;
+ $content .= '$g2ic_drupal_g2_filter_prefix = \'' . $form_values['gallery_filter_prefix'] . '\';' . $cr;
$content .= '$g2ic_language = \'en\';' . $cr;
$content .= '$g2ic_images_per_page = ' . $form_values['gallery_g2image_images_per_page'] . ';' . $cr;
$content .= '$g2ic_display_filenames = ' . $g2ic_display_filenames . ';' . $cr;