I have a template that invokes some pagination:
{
embed="embeds/.html-header" my_webpage_title="Websites of Interest"
my_meta_description="A diverse list of websites focusing on issues of reproductive justice."}
{embed="embeds/.page-header" my_header="headerResources" my_navtab="resources"}
<div id="mainContent">
{exp:channel:entries channel="intros" url_title="websites-of-interest" disable="categories|member_data|pagination"}
<h1>{ispec-bigicon-websites}{page_title}</h1>
{if last_segment=="websites-of-interest"} {!-- Only display the intro text on the first page of the list. --}
{introductory_text}
{/if}
{/exp:channel:entries}
<br />
{gv-sidemenu-resource-center}
{exp:channel:entries channel="websites-of-interest" disable="categories|member_data" limit="8" orderby="title" sort="asc"}
<div id="{switch='resourceA|resourceB'}">
<p class="resourceEntryTitle">{title}</p>
<p class="resourceEntry"><a href="{website_address}" target="_blank">{website_address}</a></p>
<p class="resourceEntry">{description}</p>
</div>
{snp-pagination}
{/exp:channel:entries}
</div>
{snp-sidebar-nothome}
{snp-page-footer}
Here is {snp-pagination}:
{paginate}
<p>.....................................</p>
<p>Page {current_page} of {total_pages} ::: {pagination_links}</p>
{/paginate}
Here’s what being produced. It ‘s somehow grabbing the global variable “gv-donate-online-path”. Where is that coming from!!!
<p>.....................................</p>
<p>Page 1 of 3 ::: <strong>1</strong> <a href="http://www.nroptions.org/resource-center/websites-of-interest/{gv-donate-online-path}/P8">2</a> <a href="http://www.nroptions.org/resource-center/websites-of-interest/{gv-donate-online-path}/P16">3</a> <a href="http://www.nroptions.org/resource-center/websites-of-interest/{gv-donate-online-path}/P8">></a> </p>
