Zoo Triggers
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From ExpressionEngine Zoo
Pagination not working
Support Request
Clearbytes
|
Posted: 02 December 2014 12:59 PM |
|
|
|
Using:
Zoo triggers - 1.2.5
Structure - 3.3.14.6
When on a category page the pagination link is fine:
e.g. /news/category/marketing/P1
But when I’m on the paginated page it loses the category:
e.g. /news/P0
This is my query:
{exp:channel:entries channel="news" limit="1" dynamic="no" {triggers:entries} paginate="bottom"}
And pagination:
{paginate} <div id="pagination"> {if previous_page} <a class="btn" href="{auto_path}">Previous</a> {/if} {if next_page} <a class="btn" href="{auto_path}">Next</a> {/if} </div><!-- end pagination --> {/paginate}
Anything I can try?
Thanks
Simon
|
|
|
KentonQ
|
Posted: 04 December 2014 06:17 AM |
# 1
|
|
|
I am having the same issue. Pagination links are not working when on a paginated page.
|
|
|
Clearbytes
|
Posted: 04 December 2014 06:23 AM |
# 2
|
|
|
This is my work around… may help you out:
{if triggers:segment_2 =="category"}
{exp:channel:entries channel="news" limit="6" dynamic="off" {triggers:entries} paginate="bottom" paginate_base="{segment_1}/{triggers:segment_2}/{triggers:segment_3}"} {if:else}
{exp:channel:entries channel="news" limit="6" dynamic="off" {triggers:entries} paginate="bottom"} {/if}
|
|
|
KentonQ
|
Posted: 04 December 2014 06:38 AM |
# 3
|
|
|
Thanks, Simon. That’s a good work around.
|
|
|