- Posts: 19
COMMUNITY FORUM
[SOLVED] pagination in k2 tag view
- Nickos Dandoulakis
-
Topic Author
- Offline
- New Member
Less
More
10 years 8 months ago #131080
by Nickos Dandoulakis
[SOLVED] pagination in k2 tag view was created by Nickos Dandoulakis
I need to know how can i put pagination in tag view... i set Item count for tag listings 10 items in layout and views in parameters but when i am clicking in tags then appears only the ten last items Item. there is not pagination to click to see the older items
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 8 months ago #131081
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: pagination in k2 tag view
If that tag list is mapped into a menu item, make sure that the Pagination is set to show in the menu item's parameters.
Finally make sure that you have not accidentally removed the pagination from your tag.php template file.
Finally make sure that you have not accidentally removed the pagination from your tag.php template file.
Please Log in or Create an account to join the conversation.
- Nickos Dandoulakis
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 8 months ago - 10 years 8 months ago #131082
by Nickos Dandoulakis
Replied by Nickos Dandoulakis on topic Re: pagination in k2 tag view
the tags are in the submenu items
i find this code in public_html/templates/MYJOOMLATEMPLATEl/com_k2/templates/default/tag.php
<!-- Pagination -->
<?php if($this->pagination->getPagesLinks()): ?>
<div class="pagination">
<?php if($this->params->get('catPaginationResults')) echo '<p class="counter">' . $this->pagination->getPagesCounter() . '</p>'; ?>
<?php if($this->params->get('catPagination')) echo $this->pagination->getPagesLinks(); ?>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
i find this code in public_html/templates/MYJOOMLATEMPLATEl/com_k2/templates/default/tag.php
<!-- Pagination -->
<?php if($this->pagination->getPagesLinks()): ?>
<div class="pagination">
<?php if($this->params->get('catPaginationResults')) echo '<p class="counter">' . $this->pagination->getPagesCounter() . '</p>'; ?>
<?php if($this->params->get('catPagination')) echo $this->pagination->getPagesLinks(); ?>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
Please Log in or Create an account to join the conversation.
- Nickos Dandoulakis
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 8 months ago #131083
by Nickos Dandoulakis
Replied by Nickos Dandoulakis on topic Re: pagination in k2 tag view [solved]
ok i found the solution i copied the code for pagination from k2_component tag.php ana i pasted in templates tag.php and done.....
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 8 months ago #131084
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: pagination in k2 tag view [solved]
Nice to hear that Nick.
Please Log in or Create an account to join the conversation.
- MGS Creativa
-
- Offline
- Senior Member
Less
More
- Posts: 54
9 years 9 months ago - 9 years 9 months ago #145787
by MGS Creativa
Replied by MGS Creativa on topic [SOLVED] pagination in k2 tag view
Hi! is it possible to have pagination on tag item list after clicking tag on an item details? I don't want to have a menu item for each tag I create.
Thanks in advise!
PS:
Using K2 ver 2.6.9
Joomla ver 2.5.28
Thanks in advise!
PS:
Using K2 ver 2.6.9
Joomla ver 2.5.28
Last edit: 9 years 9 months ago by MGS Creativa.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 9 months ago #145789
by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] pagination in k2 tag view
The pagination on tags is enabled by default. In nick's case the pagination was not a part of his K2 tag template.
Please Log in or Create an account to join the conversation.
- MGS Creativa
-
- Offline
- Senior Member
Less
More
- Posts: 54
9 years 9 months ago #145794
by MGS Creativa
Replied by MGS Creativa on topic [SOLVED] pagination in k2 tag view
Great, checked my template override and fixed it.
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 9 months ago #145867
by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] pagination in k2 tag view
You 're welcome :)
Please Log in or Create an account to join the conversation.