Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

More Flexible Pagination Template #7174

Closed
beaniemonk opened this issue Jul 17, 2014 · 3 comments
Closed

More Flexible Pagination Template #7174

beaniemonk opened this issue Jul 17, 2014 · 3 comments
Labels
Milestone

Comments

@beaniemonk
Copy link

In light of the recent template changes -- especially to form widgets where you've pulled the HTML structure out of the class and into the template file (which is awesome) -- I wish the same could be done with the pagination template.

Right now the first/prev/next/last links are in the template, but the HTML for the individual page links are generated inside the pagination class and passed into the template as a string, so they can't be customized without regex or extending the class.

It would be nice if they were passed as an array and generated via a foreach loop in the template file. Many of the other navigation templates (e.g. page & article navigation, breadcrumbs, news & event menus) are handled in this manner. Thanks!

@xchs
Copy link
Contributor

xchs commented Jul 18, 2014

+1

@fritzmg
Copy link
Contributor

fritzmg commented Jul 18, 2014

+1 as well

@leofeyer leofeyer added this to the 3.4.0 milestone Jul 23, 2014
@leofeyer
Copy link
Member

Implemented in b0be9fd.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants