Keyword

K2 Content Module - Pagination

  • CuppaJoe
  • CuppaJoe's Avatar Topic Author
  • Offline
  • New Member
  • Share The Warmth
More
10 years 7 months ago #125351 by CuppaJoe
K2 Content Module - Pagination was created by CuppaJoe
Hello Team,

I see that there is no pagination option in the mod_k2_content which is a shame, as I would like to display say 3 or 5 items, with a prev/next pagination button set at the bottom.

So I was thinking of recycling code from maybe the category.php as that has:
<!-- Pagination -->
	<?php if(count($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; ?>

	<?php endif; ?>

Not sure if it is possible or how it would be possible to recode this for use in the module.

I have set up a module over ride in my template which loads, unless I dump that code in it of course :)
Is it possible to modify this?

Joe

Regards,

Joe,

ShareTheWarmth

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

More
10 years 7 months ago #125352 by Lefteris
Replied by Lefteris on topic Re: K2 Content Module - Pagination
Hi. Modules do not have pagination. If you want pagination you need to use a menu link to the component. Alternatively you can create pagination like effect in the module using javascript. Of course this assumes that you are familiar with javascript programming.

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