Keyword

simplified pagination

  • infographiste
  • infographiste's Avatar Topic Author
  • Offline
  • New Member
More
2 months 1 week 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
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 1 week 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
2 months 1 week 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
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 months 1 week 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.

More
1 week 3 days ago #171508 by Railer
Railer replied the topic: simplified pagination
I have a related issue except that in my case, I only have two pages of K2 items (20 page page) but I have about 25 pagination icons at the bottom. How can I get on the actual pages which exist in the category to display. Currently 23 of those icons link to blank pages.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago #171519 by Fotis
Fotis replied the topic: simplified pagination
This looks like either a bad override or a broken K2 installation... URL to your site?


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