ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pagination Not Working in 2.5.2

August 07, 2012 11:42am

Subscribe [2]
  • #1 / Aug 07, 2012 11:42am

    liselnicole

    2 posts

    Hi All,

    I know this is not a new issue, but I have yet to find a solution. I just need to paginate some channel entries. I know that it has something to do with dynamic=“no”, but if I change this to yes, no entries show up. We do use the Taxonomy plugin, not sure if this would be related. When I click the generated links I get a 404. Any help would be much appreciated.

    {exp:channel:entries channel="sustainability_stories" dynamic="no" orderby="article_publish_date" limit="1" sort="desc" paginate=“bottom”}
     <div class="pageBlock newsBlock">
      <h2><a href="http://{page_url}">{article_title}</a></h2>
    <p>  {article_summary} <br />
      <span>Published on <em>{article_publish_date format="%F %d %Y"}</em></span><br />
      <span><a href="http://{page_url}">... read more</a></span><br />
     </div><br />
     {paginate}<br />
                  {pagination_links}<br />
         {/paginate}<br />
    {/exp:channel:entries}

    Here is the output:

     <strong>1</strong> <a href="http://test-simplot.sundoginteractive.com/sustainability/stories/P1">2</a> <a href="http://test-simplot.sundoginteractive.com/sustainability/stories/P2">3</a> <a href="http://test-simplot.sundoginteractive.com/sustainability/stories/P1">></a> 
  • #2 / Aug 08, 2012 12:03pm

    Shane Eckert

    7174 posts

    Hey

    I am sorry to hear you are running into this problem.

    Unfortunately you cannot paginate pages. Pages are by nature static and so linking them via pagination will not work.

    Is there anything else I can help with?

    Thank you,

  • #3 / Aug 09, 2012 1:40pm

    liselnicole

    2 posts

    I see. Thank you for your response.

  • #4 / Aug 09, 2012 1:50pm

    Shane Eckert

    7174 posts

    Hi liselnicole,

    My pleasure! Glad to help.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases