On a template I am calling in a series of snippets like so:
{sn-head} {sn-header} {sn-page} {sn-listing-videos} {sn-footer}
The sn-listing-videos
snippet contains an entries loop like so:
{exp:channel:entries channel="video" limit="12" paginate="both" disable="categories|member_data" dynamic="no"} {sn-listing-pagination} {title} {/exp:channel:entries}
The sn-listing-pagination
snippet isn't rendering in this instance. In fact, none of my snippets are rendered with the sn-listing-videos
snippet at all.
I have a few other templates which contain listing snippets for other channels which contain the same code apart from the channel parameter in the exp:channel:entries tag - and the pagination snippet works just fine in these.
I am using the SnippetSync module. I have run a test after having uninstalled it, but still no luck.
What could cause this problem for that particular template/snippet?
=================
EDIT:
Here's the code for a different listings page where the same set up works.
Template code:
{sn-head} {sn-header} {sn-page} {sn-listing-resource} {sn-footer}
sn-listing-resource
snippet code:
{exp:channel:entries channel="resource" limit="5" paginate="both" disable="categories|member_data" dynamic="no"} {sn-listing-pagination} {title} {/exp:channel:entries}
=================
EDIT #2:
Content of pagination snippet:
{paginate}
<div class="listing-pagination">
{pagination_links}
{previous_page}
<a href="{pagination_url}">Prev</a>
{/previous_page}
{page}
<a href="{pagination_url}" {if current_page}class="active"{/if}>{pagination_page_number}</a>
{/page}
{next_page}
<a href="{pagination_url}" class="button slim next">Next</a>
{/next_page}
{/pagination_links}
</div>
{/paginate}
{sn-listing-pagination}
limit
higher than 1