Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
I am sure I have messed something up on my end, but I can not seem to get the pagination to work correctly. I followed the steps in the documentation and noticed my "next" and "prev" links were not working. The page displayed the correct number of clones but the links did not redirect or load any new information.
Also, when I tried to insert the code for removing the links depending on the page i.e. first page show no prev link and last page shows no next link, the links disappeared altogether.
This makes me think that for what ever reason it isn't recognizing any additional pages needed therefore links don't work and buttons disappear when extra code is added.

Here is the code relating to the pagination.

Code: Select all
<div class="welcome">
    <div id="latestnews1">
      <article class="latest">
      <!--Headline-->
  <h1><span style="margin-left: 167px"></span></h1>
        <!--End Headline-->
        <cms:pages masterpage='latestnews.php' pagination='1' limit='3' >
       
         <!--trial news table-->
       
        <p style="color: #FFFFFF; margin-left: 170px; float: right;">
        <table width="900">
  <tr>
    <td width="80%"><cms:show news_date /><cms:show news_content /></td>
    <td width="20%"><img src="<cms:show news_image />" alt="" class="latestimage" /></td>
  </tr>
  <cms:if k_paginated_bottom >
  <tr>
  <td colspan="2" style="text-align: center">
  <cms:if k_paginate_link_next >
  <a href="<cms:show k_paginate_link_next />">&lt;&lt; Recent News</a>
  </cms:if>
  <cms:if k_paginate_link_prev >
  <a href="<cms:show k_paginate_link_prev />">Older News &gt;&gt;</a>
  </cms:if>
  </td>
  </tr>
</cms:if>
  </table>

          </p>
        <!--end table-->
       
<!--just in case <p style="color: #FFFFFF; margin-left: 170px; float: right;">
<cms:show news_date />
  <img src="<cms:show news_image />" alt="" class="latestimage" />
<cms:show news_content />  </p>-->

  </cms:pages>
      </article>
    </div>
   
   
  </div>


I am thinking I overlooked something along the way but can not figure out what. Any help is appreciated.
Hello and welcome, djlotus :)

That pagination='1' you are using as cms:pages tag's parameter should actually be paginate='1'.
Please correct that and it should rectify the problem.
Rest of your code is perfectly fine.

Hope this helps.
Thanks.
Thanks for the help. I knew it was something simple. That worked perfectly and now the news is as well. :D
You are welcome and thank you for letting us know :)
4 posts Page 1 of 1
cron