EE: v2.6.1
Xtra Addons: Fieldtypes: Matrix, Wygwam
I’m having an extremely difficult time with paginating my pages.
I had no problem paginating a list of entries, but when trying to paginate through the detail pages, it’s been impossible.
The closest I’ve been able to get is a {pagination_marker} tab to display (only when opting for paginate=“inline”) where pagination is supposed to be.
{exp:channel:entries channel="work|blog" orderby="date" sort="desc" status="not closed" paginate="inline"}
<div id="content">
<div class="twelveCol">
{full_size_images}
{full-image}
{/full_size_images}
<div class="threeCol_group">
<div class="twoCol_group">
<h2>{title}</h2>
<p> {categories show="not 6|18" style="linear"}<br />
<ul><br />
<li><br />
{if "{channel_name}" == "blog"}<br />
</p><h3><a href="http://{path=pages/blog}">{category_name}</a></h3>
<p> {if:else}<br />
</p><h3><a href="http://{path=pages/work}">{category_name}</a></h3>
<p> {/if}<br />
</li><br />
</ul><br />
{/categories}<br />
</div><!-- END .twoCol_group --></p>
<p> <div class="social"><br />
<ul><br />
<li><a href="http://www.facebook.com" target="_blank" rel="noopener">{site_url}images/global/icon_facebook.png</a></li><br />
<li><a href="http://{permalink=pages/share}">{site_url}images/global/icon_email.png</a></li><br />
</ul><br />
</p><h2>SHARE</h2>
<p> </div><!-- END .social --></p>
<p> <div class="fullContent" ><br />
<div class="fourCol"><br />
{main_content}<br />
</div><!--END .fourCol --></p>
<p> <div class="fourCol"><br />
{main_content_col2}<br />
</div><!--END .fourCol --><br />
</div><!--END.fullContent"--><br />
</div><!--END .threeColGroup--></p>
<p> <div class="fourCol"><br />
</p><h2> </h2>
<p> </div><!--END .fourCol --></p>
<p>{paginate}</p>
<p>{if previous_page}<br />
<a href="http://{auto_path}class=prev">Previous Page</a> <br />
{/if}</p>
<p>{if {current_page} != '1' AND "{current_page}" != "{total_pages}" } | {/if}</p>
<p>{if next_page}<br />
<a href="http://{auto_path}class=next">Next Page</a><br />
{/if}</p>
<p>{/paginate} </p>
<p></div><!-- END .twelveCol --></p>
<p></div><!-- END #Content --></p>
<p>{/exp:channel:entries}I can’t find only difference between the list page and the detail page since they are both pulling from the same channel, just some extra fields are displaying.
Anyone else have this problem? Suggestions?
Thanks