Welcome to Geeklog, Anonymous Friday, February 23 2024 @ 12:48 pm EST

Geeklog Forums

Gallery integration: mod_rewrite

Status: offline


Forum User
Registered: 08/06/02
Posts: 23

I had a problem with gallery integration in that I found that Gallery would not generate short URLs when wrapped in Geeklog.

I've just discovered (thanks Bharat - Gallery developer) that this is because Gallery disables short URLs when it is wrapped in anything.

Here's what Bharat said:

The problem is that Gallery disables short URLs whenever it is embedded in anything. This is because I had a *Nuke bias when I wrote that code and Nuke prevents us from using short URLs. The folks who do the geeklog patch could remove this restriction in their next rev of the patch... Or you could modify the makeAlbumUrl() function in util.php:

if (!$GALLERY_EMBEDDED_INSIDE && $gallery->app->feature["rewrite"]) {
if ($gallery->app->feature["rewrite"]) {

Hope this helps somebody!


All times are EST. The time is now 12:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content