[navigation] Previous/Next Navigation between Albums #213

Closed
opened 2026-10-04 23:47:37 +02:00 by adam · 2 comments
Owner

Reported by miblo69 on 20 Dec 2012 15:15

Version: 2.4.6

I would like to add an additional navigation feature, on the top of each album page, to be able to select the 'Next' Album, or the Previous Album. This would make it much easier to swiftly browse through a large set of albums.

Without this feature, you need to go up one level to view the parent album, and then go down and select the child album. And then up again to go down.... So to speak.

I understand this can be done with a Template, and I have found the place in Index.tpl (using the default theme) where the code should be added. But I am unaware of how to retrieve the information on which albums is the previous/next, based on the album I am currently viewing.

Attached is a mock-up screenshot on how I want the navigation to work.

"Prev" should be a link to " /Blomgren / 1997"
"Next" should be a link to " /Blomgren / 1999 "

Any pointers on how to get this info would be greatly appreciated!

~Mike

Additional information: http://piwigo.org/forum/viewtopic.php?id=20999

Piwigo Bugtracker #2812

**Reported by miblo69 on 20 Dec 2012 15:15** **Version:** 2.4.6 I would like to add an additional navigation feature, on the top of each album page, to be able to select the &#039;Next&#039; Album, or the Previous Album. This would make it much easier to swiftly browse through a large set of albums. Without this feature, you need to go up one level to view the parent album, and then go down and select the child album. And then up again to go down.... So to speak. I understand this can be done with a Template, and I have found the place in Index.tpl (using the default theme) where the code should be added. But I am unaware of how to retrieve the information on which albums is the previous/next, based on the album I am currently viewing. Attached is a mock-up screenshot on how I want the navigation to work. &quot;Prev&quot; should be a link to &quot; /Blomgren / 1997&quot; &quot;Next&quot; should be a link to &quot; /Blomgren / 1999 &quot; Any pointers on how to get this info would be greatly appreciated! ~Mike **Additional information:** http://piwigo.org/forum/viewtopic.php?id=20999 [Piwigo Bugtracker #2812](http://piwigo.org/bugs/view.php?id=2812) <!-- github-sync-id:97226505 -->
adam closed this issue 2026-10-04 23:47:37 +02:00
Author
Owner

Comment posted by miblo69 on 16 Apr 2013 14:48

Any chance for an update on this Feature request? I'd be more than happy to develop a plugin/theme combo to support this, but I would need some pointers on which events to use, and how to derive the Previous/Next album. Either by using existing functions, or through a SQL Query.

Thanks,
~Mike

**Comment posted by miblo69 on 16 Apr 2013 14:48** Any chance for an update on this Feature request? I&#039;d be more than happy to develop a plugin/theme combo to support this, but I would need some pointers on which events to use, and how to derive the Previous/Next album. Either by using existing functions, or through a SQL Query. Thanks, ~Mike <!-- github-comment-id:124892990 -->
Author
Owner

Implemented in plugin PrevNext http://piwigo.org/ext/extension_view.php?eid=787

Implemented in plugin PrevNext http://piwigo.org/ext/extension_view.php?eid=787 <!-- github-comment-id:215341023 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#213