Welcome to Geeklog, Anonymous Thursday, December 12 2024 @ 12:17 am EST
Geeklog Forums
Gallery integration: mod_rewrite
Status: offline
robinbowes
Forum User
Junior
Registered: 08/06/02
Posts: 23
Hi,
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:
change:
to:
Hope this helps somebody!
R.
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:
change:
if (!$GALLERY_EMBEDDED_INSIDE && $gallery->app->feature["rewrite"]) {
to:
if ($gallery->app->feature["rewrite"]) {
Hope this helps somebody!
R.
7
9
Quote
All times are EST. The time is now 12:17 am.
- 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