Commit 005a5769 authored by kiz_0987's avatar kiz_0987

Updated g2image settings to include new g2_filter prefix setting

parent c15e9178
......@@ -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
---------------
......
......@@ -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;
......
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