Keyword

simplified pagination

  • infographiste
  • infographiste's Avatar Topic Author
  • Offline
  • New Member
More
1 week 4 days ago #170826 by infographiste
infographiste created the topic: simplified pagination
Hi,
I'd like to change the navigation menu in category view to only mention this :
1 / 2
and so hide all other buttons like : next, previous, page 1 and so on

I guess I have to tweek this in the pagination.php into the template html directory but I don't read fluent php code so if anybody knows the answer ?

thx you all and have a wonderfull day !

Eric

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 4 days ago #170827 by Fotis
Fotis replied the topic: simplified pagination
Use CSS.

Add this in your template's main CSS file.
.k2Pagination ul.pagination-list {display:none !important;}

To change "of" to "/" you need to modify /html/pagination.php inside your template.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • infographiste
  • infographiste's Avatar Topic Author
  • Offline
  • New Member
More
1 week 4 days ago #170830 by infographiste
infographiste replied the topic: simplified pagination
thx a lot but if I do this the whole bar disapear !
plus, I don't see any "of" in my pagination.php
Maybe another clue ?

here the link of the page :
www.aapdc.fr/testbddd/nos-publications/publications-publiques/contributions-des-membres?start=6

thx you for the help !
Eric
Attachments:

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 3 days ago #170835 by Fotis
Fotis replied the topic: simplified pagination
For your site it's a bit different. Simply add:
.k2Pagination ul.pagination {display:none !important;}

Result: jmp.sh/T8MMvKV

The "sur" word comes from Joomla's language files. Search for it and override it with "/". More here: docs.joomla.org/J3.x:Language_Overrides_in_Joomla


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

Moderators: william white