ZenphotoCMS Forum
Paging back to first page broken - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Paging back to first page broken (/thread-456.html)



Paging back to first page broken - robd - 2006-04-20

I came across a problem when paging back to the first page of albums on a subdomain install with mod rerwrite. The url for the page 1 link (and prev link when on page 2) is blank. This takes the user to the current page rather than to the first page. I think the url should be to WEBPATH + /.

I fixed this on line 315 in template-functions.php. Not sure if its best to put the / in the ternary or up front.

I think 317 should be ok for non mod rewrite installs.




Paging back to first page broken - robd - 2006-04-20

Moving to berlios. Apologies.