Keyword

K2 pagination doesn't show (hint: it's related to Falang)

  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 3 months ago #174347 by Antonio Jose Valdes Medina
K2 pagination doesn't show (hint: it's related to Falang) was created by Antonio Jose Valdes Medina
Hi,

I've many read many post about the pagination not working in K2 2.10.2 and I haven't found any solution.

In my case in the catagory.php the array $this->pagination contains the data, and the joomla function $this->pagination->getPagesLinks() don't work.

I try:

- Re-save the category
- Paste the new category.php code in my override

My website works with PHP 7.1 version, can it be because of this?

I'm looking forward to hearing from you,
Toni

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

More
5 years 3 months ago #174358 by JoomlaWorks
You may have a very old /templates/YOUR_TEMPLATE/html/pagination.php override file. Delete it (or rename it to _pagination.php) so that Joomla's default pagination file kicks in.

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

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

  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 3 months ago #174360 by Antonio Jose Valdes Medina
Replied by Antonio Jose Valdes Medina on topic K2 pagination doesn't show (hint: it's related to Falang)
Hi,

Sorry, in my template I don't have a pagination.php file. And I've also tried putting it and it doesn't work either.

I'm waiting for your answer,

Thanks.

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

More
5 years 3 months ago #174361 by JoomlaWorks
What's the 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.

  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 3 months ago - 5 years 3 months ago #174369 by Antonio Jose Valdes Medina
Replied by Antonio Jose Valdes Medina on topic K2 pagination doesn't show (hint: it's related to Falang)
Hi,

My website is obertament.org

And the problem is this URLs:

· obertament.org/ca/lluita-contra-l-estigma/actualitat
· obertament.org/ca/lluita-contra-l-estigma/histories-de-vida-en-1-persona/blogs

This Website have a T3 Framework template by joomlaArt, with all updates since 2011 (www.t3-framework.org)

Can I send you the admin or FTP pass by private to you can see the code?

I'm waiting for your answer,

Thanks.
Last edit: 5 years 3 months ago by Antonio Jose Valdes Medina.

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

More
5 years 3 months ago - 5 years 3 months ago #174374 by JoomlaWorks
Make sure the Protostar template is installed in Joomla. Re-install Joomla if required from the "Joomla Update" component.

Then request a URL like so on your browser: obertament.org/ca/lluita-contra-l-estigma/actualitat?template=protostar

Does that load the pagination in K2?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 5 years 3 months ago by JoomlaWorks.

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

  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 3 months ago #174434 by Antonio Jose Valdes Medina
Replied by Antonio Jose Valdes Medina on topic K2 pagination doesn't show (hint: it's related to Falang)
Hi,

I'm sorry, I don't see your update post.

I've tested the Website with Propostar and it doesn't work the pagination either

You'll be able to see it: obertament.org/ca/lluita-contra-l-estigma/actualitat?template=protostar

I hope your answer,

Toni

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

More
5 years 3 months ago #174449 by JoomlaWorks
K2 uses the Joomla API to create the pagination links. If it doesn't show, then check the following:

a) Is the pagination enabled (or set to "auto") in your K2 menu items? jmp.sh/Vt5rtxU
b) If the file pagination.php is missing, copy it from Protostar or the system templates to your template's "html" folder.

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

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

  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 3 months ago #174452 by Antonio Jose Valdes Medina
Replied by Antonio Jose Valdes Medina on topic K2 pagination doesn't show (hint: it's related to Falang)
Hi Fotis,

The pagination is enabled in K2 menú settings.
And I've copied the pagination.php from Protostar html folder to my html folder template, and It doesn't work either.

You must remember that witch Propostar template also doesn't work: obertament.org/ca/lluita-contra-l-estigma/actualitat?template=protostar

I hope your answer,
Toni

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

More
5 years 3 months ago #174454 by JoomlaWorks
I was merely making sure everything is in place...

Given your last response, unless some 3rd party plugin causes issues, try re-installing Joomla (and K2 afterwards). Use the Joomla Update component to re-install.

There's not much I can do beyond that.

Keep in mind that there have been 2-3 posts related to pagination and these revolved around issues I just mentioned.

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

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

  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 3 months ago #174463 by Antonio Jose Valdes Medina
Replied by Antonio Jose Valdes Medina on topic K2 pagination doesn't show (hint: it's related to Falang)
Ok Fotis,

I'll try to re-install Joomla and K2, I'll tell you if it worked.

Thanks.

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

More
5 years 3 months ago #174464 by JoomlaWorks
Great.

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 3 months ago - 5 years 3 months ago #174478 by Vitaliy
Identical problem, after updating to 2.10.2, pagination is not displayed, although everything is activated in the settings.
Problem on several sites, the component was reinstalled
Last edit: 5 years 3 months ago by Vitaliy.

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

More
5 years 3 months ago #174487 by JoomlaWorks
@Vitaliy Did you follow all the possible solutions in this thread? E.g. checking your template's pagination.php file?

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 3 months ago #174509 by Vitaliy
Pagination file in the template folder in place! Before the update, the site worked without problems for two years, pagination on materials has always been. This is not observed on one site, but on several.... and I'm afraid to update on other sites...

The joomla version is the latest, the helix 3 framework

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

More
5 years 3 months ago #174515 by JoomlaWorks
Do a test installation of Joomla with K2 v2.10.2 (or v2.10.3 dev) and you'll see that there are no such issues.

Perhaps the problems comes in some way from the Helix 3 f/w.

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 3 months ago #174532 by Vitaliy
On your advice, I made a clean installation of the CMS on the local server, installed Helix 3 and Helix Ultimate. There are no problems with pagination, neither in the old version (helix 3), nor in the new version (helix ultimate). I don't know why pagination disappeared on working sites when updating(((

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

More
5 years 3 months ago #174536 by Le Marché Biron
Replied by Le Marché Biron on topic K2 pagination doesn't show (hint: it's related to Falang)
Hi everyone,

I just had the same problem with updating joomla and k2 to the latest.
After disabling one by one all my components and plugins, i found that the following plugin causes the pagination not to show :
" System - FaLang Database Driver "
Maybe it can be an answer for you both
I'll contact Falang developers.
Cheers

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

More
5 years 3 months ago #174540 by JoomlaWorks
@Vitaliy Now check your plugins one by one.

@Le Marché Biron Thank you for your feedback.

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 3 months ago #174542 by Bouey
Hi,

it's a problem with Falang the query line 342 in the file : components/com_k2/models/itemlist.php
$db->setQuery('SELECT FOUND_ROWS();');
$this->getTotal = $db->loadResult();

not supported by falang due to the query override.
i'm looking for a workaround

Stéphane
Falang
www.faboba.com

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


Powered by Kunena Forum