Support ⇒ CPG-BB (forum) ⇒ Pagination dropdown ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks CPG-BB (forum)

Pagination dropdown Reply to topic


Does the pagination class allow us to somehow insert a dropdown for pagination instead of using the links?
If I have 80 pages in a topic, and someone wants to navigate to page 40, there is no easy way for them to do that at the moment, because only the oldest 3 and newest pages have links.

Test Signature

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Currently this is not possible.
However, v10 has class \Poodle\Pagination which contains the allItems() method that can do the trick.
Therefore the Forums viewtopic.php has to be modified to use the new TAL template system.
After that you can create a template file to do what you want like:
<select onchange="document.location=this.value"> <option tal:repeat="p topic_pagination/allItems" tal:attributes="value p/uri; selected p/current" tal:content="p/page">1</option> </select>

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Tue Dec 16, 2014 12:32 pm; edited 2 times in total


Changed v10 viewtopic.php see: code.google.com/p/drag...ada8103150

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Tue Dec 16, 2014 12:37 pm; edited 2 times in total

All times are UTC


Jump to: