| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <p> 2 <h3>Directory Settings</h3> 3 <p>"URI of Gallery2" is the URI of the Gallery2 standalone location. Path from docroot to the directory main.php is located. Protocol / host name are both optional. Examples: /gallery2/, /sub/gallery2/, http://photos.example.com/, www.example.com/photos/main.php </p> 4 <p>"Location of Gallery2" is the path of your gallery2 installation, either absolute (starts with "/") or relative to your Drupal installation directory. Normally this is auto-detected, but in case this fails you can turn off auto-detection and manually enter a value. </p> 5 <p>"Embed URI" is the URI needed to access Gallery2 through Drupal. This will end in \'?q=gallery\' (non-clean URLs) or \'gallery\' (clean URLs). Normally this is auto-detected, but in case this fails you can turn off auto-detection and manually enter a value. </p> 6 <p>Some examples: </p> 7 <p>Example 1: If your directory structure and website structure is 8 <ul> 9 <li>Drupal dir: /var/www/web/html/</li> 10 <li>Gallery dir: /var/www/web/html/gallery2/</li> 11 <li>Website URL: http://www.example.com</li> 12 <li>Standalone Gallery2 URL: http://www.example.com/gallery2/</li> 13 <li>Then 14 <ul> 15 <li>"URI of Gallery2" = "/gallery2/" or "http://www.example.com/gallery2/"</li> 16 <li>"Location of Gallery2" = "gallery2/" or "/var/www/web/html/gallery2/"</li> 17 <li>"Embed URI" = "?q=gallery" or "http://www.example.com/?q=gallery"</li> 18 </ul> 19 </ul> 20 </p> 21 <p>Example 2: If your directory structure and website structure is 22 <ul> 23 <li>Drupal dir: /var/www/web/html/drupal/</li> 24 <li>Gallery dir: /var/www/web/html/gallery2/</li> 25 <li>Website URL: http://www.example.com/drupal</li> 26 <li>Standalone Gallery2 URL: http://www.example.com/gallery2/</li> 27 <li>Then 28 <ul> 29 <li>"URI of Gallery2" = "/gallery2/" or "http://www.example.com/gallery2/"</li> 30 <li>"Location of Gallery2" = "../gallery2/" or "/var/www/web/html/gallery2/"</li> 31 <li>"Embed URI" = "/drupal/?q=gallery" or "http://www.example.com/drupal/?q=gallery"</li> 32 </ul> 33 </ul> 34 </p> 35 <p>Example 3: If your directory structure and website structure is 36 <ul> 37 <li>Drupal dir: /var/www/web/html/drupal/</li> 38 <li>Gallery dir: /var/www/web/html/someotherdir/gallery2/</li> 39 <li>Website URL: http://www.example.com/</li> 40 <li>Standalone Gallery2 URL: http://www.anotherexample.com/gallery2/</li> 41 <li>Then 42 <ul> 43 <li>"URI of Gallery2" = "http://www.anotherexample.com/gallery2/"</li> 44 <li>"Location of Gallery2" = "/var/www/web/html/someotherdir/gallery2/"</li> 45 <li>"Embed URI" = "/drupal/?q=gallery" or "http://www.example.com/drupal/?q=gallery"</li> 46 </ul> 47 </ul> 48 </p> 49 </p>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |