Keyword

simplified pagination

  • infographiste
  • infographiste's Avatar Topic Author
  • Offline
  • New Member
More
5 years 10 months ago #170826 by infographiste
simplified pagination was created by infographiste
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.

More
5 years 10 months ago #170827 by JoomlaWorks
Replied by JoomlaWorks on 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • infographiste
  • infographiste's Avatar Topic Author
  • Offline
  • New Member
More
5 years 10 months ago #170830 by infographiste
Replied by infographiste on 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.

More
5 years 10 months ago #170835 by JoomlaWorks
Replied by JoomlaWorks on 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

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
5 years 8 months ago #171508 by Railer
Replied by Railer on 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.

More
5 years 8 months ago #171519 by JoomlaWorks
Replied by JoomlaWorks on topic simplified pagination
This looks like either a bad override or a broken K2 installation... URL to your site?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum