Keyword

Pagination is not displayed in category list

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 4 months ago #119642 by Yiota
In your category.php K2 override try to comment out the if statement of the pagination block and see if the pagination shows up then.

The code you need to comment out is like this:
<?php // if($this->pagination->getPagesLinks()): ?>
	<div class="k2Pagination">
		<?php if($this->params->get('catPagination')) echo $this->pagination->getPagesLinks(); ?>
		<div class="clr"></div>
		<?php if($this->params->get('catPaginationResults')) echo $this->pagination->getPagesCounter(); ?>
	</div>
	<?php // endif; ?>

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

  • Dennis Miliopoulos
  • Dennis Miliopoulos's Avatar
  • Offline
  • Junior Member
More
10 years 4 months ago #119643 by Dennis Miliopoulos
Replied by Dennis Miliopoulos on topic Re: Pagination is not displayed in category list
Nothing happened on both the sites unfortunately.

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 4 months ago #119644 by Yiota
Do you use K2 template overrides? If you do, did you try to Disable them?
Also which version of K2 and Joomla do you have on?

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

  • Dennis Miliopoulos
  • Dennis Miliopoulos's Avatar
  • Offline
  • Junior Member
More
10 years 4 months ago #119645 by Dennis Miliopoulos
Replied by Dennis Miliopoulos on topic Re: Pagination is not displayed in category list
Yes i have switched it back to the default k2 template and nothing showed up.

I have k2 version 2.6.7 and joomla 2.5.16 on ivoryhomeinteriors.com/
and 2.6.6 and 2.5.14 on the other one

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 4 months ago #119646 by Yiota
Have you made any overrides of the pagination.php file? You can check if it exists in templates/your_template/html/ folder.

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

  • Dennis Miliopoulos
  • Dennis Miliopoulos's Avatar
  • Offline
  • Junior Member
More
10 years 4 months ago #119647 by Dennis Miliopoulos
Replied by Dennis Miliopoulos on topic Re: Pagination is not displayed in category list
No there is no pagination.php in my custom templates but now that have checked the default template folder /components/com_k2/templates/default/ there is no pagination there as well.

Is this the default location of the pagination.php? If not where is it located?

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

  • Dennis Miliopoulos
  • Dennis Miliopoulos's Avatar
  • Offline
  • Junior Member
More
10 years 4 months ago #119648 by Dennis Miliopoulos
Replied by Dennis Miliopoulos on topic Re: Pagination is not displayed in category list
I can provide backend access if you like to check things out.

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 4 months ago #119649 by Yiota
That would be very helpful.
Please sent us through the contact form, here: getk2.org/contact-us

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

  • Dennis Miliopoulos
  • Dennis Miliopoulos's Avatar
  • Offline
  • Junior Member
More
10 years 4 months ago #119650 by Dennis Miliopoulos
Replied by Dennis Miliopoulos on topic Re: Pagination is not displayed in category list
I have sent the message, are you looking into it?

Once we figure this out i will write the solution in this thread for other users

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 4 months ago #119651 by Yiota
I'm sorry but didn't receive your message. Could you please resent it?
Thank you.

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


Powered by Kunena Forum