plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
246 stars 186 forks source link

better template for pagination (nextprevious and collection pagination) #2276

Closed iham closed 1 year ago

iham commented 6 years ago

What I did:

while theming less/css/pt i wanted to hide the labels (eg 'next item') and change the arrows. also the "next items" arrow is way smaller then the "previous".

screen shot 2018-01-27 at 15 35 58

What I expect to happen:

that it will be easy by using only some less. (hide labels & :before content to change the icon)

What actually happened:

i had to override 2 templates and the less code... ... which is more work then i thougt.

What version of Plone/ Addons I am using:

plone 5.1

SOLUTION

i want to change the templates a little to achieve:

... because this looks pretty nice too ...

screen shot 2018-01-27 at 17 16 54 screen shot 2018-01-27 at 17 15 45

... and is customisable using css only ;)

files touched:

plone.app.layout.nextprevious.nextprevious.pt plone.batching.batchnavigation.pt plonetheme.barceloneta/plonetheme/barceloneta/theme/less/pagination.plone.less

jensens commented 1 year ago

this was improved a lot in Plone 6 ClassicUI and is even better in Volto.