$page GET variable not being remembered?
fromit
Joined: 2004-04-21
Posts: 3 |
Posted: Wed, 2004-04-21 15:05 |
I have a client using Gallery (from IE5/Mac) who has put enough images into an album to have it page through them, 9 photos per page (3x3). When she clicks along to page 2 of her gallery, all works fine. Page 3, seems to work fine. If she tries to use her back button, she can back to page 2, but then gets page 2 again, instead of page 1. I have the same problem in IE6 on WinXP. It looks like Gallery doesn't append a $page=1 to the first view of a gallery. Hence, her browser is remembering the last page viewed. (Which in the above instance of this error was $page=2) Anyone have any ideas what I can look at or modify? Is this fixed in 1.4.3? I'm running 1.4.3-RC2 Gallery URL: http://www.libbytolley.com |
|
Posts: 2322
This is not fixed in 1.4.3 - any fix we added would just be a workaround, as this should work normally in the browser. We may look into adding something for 1.4.4, however.
Currently, I don't know of a workaround, although one could be created.
Posts: 3
How would I modify the album links for the first page? Instead of going to "http://www.libbytolley.com/gallery/view_album.php?set_albumName=Available-Paintings",
I'd like to have it go to "http://www.libbytolley.com/gallery/view_album.php?set_albumName=Available-Paintings&page=1" when someone first clicks into an album.
Any ideas? Just some simple php?
Posts: 2322
This could be changed in the .htaccess file, however it might not work the way you expect, because the browser doesn't know that the URL has been changed.
Posts: 3
Don't I start having to add a line there for each new gallery? That can get ugly...
Is there really no nice way to modify the initial link created in the php script so that $page is set when someone first clicks into an album?