Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Top pagination links do not work

pitymaiapitymaia New
edited October 2016 in Vanilla 2.0 - 2.8

Hi, I'm using Vanilla 2.2.1 and on big discussions the system creates pagination links at the top and bottom of the page.
The links at the top do not work. They don't change the cursor to pointer and do not allow to click on the pages.
The bottom one is perfect.

This is the HTML code vanilla creates for the top one:

   <span class="BeforeCommentHeading">
        <span id="PagerBefore" class="Pager NumberedPager">
           <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p2" class="Previous" rel="prev">«</a>
           <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p1" class=" p-1 FirstPage">1</a>
           <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p2" class=" p-2" rel="prev">2</a>
           <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p3" class="Highlight p-3 LastPage">3</a>
           <span class="Next">»</span>
        </span>
   </span>

This is the HTML for the bottom one:

<div class="P PagerWrap">
   <div id="PagerAfter" class="Pager NumberedPager NumberedPager">
      <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p2" class="Previous" rel="prev">«</a>
      <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p1" class=" p-1 FirstPage">1</a>
      <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p2" class=" p-2" rel="prev">2</a>
      <a href="http://www.religiaoeveneno.com.br/discussion/2/testes-diversos/p3" class="Highlight p-3 LastPage">3</a>
      <span class="Next">»</span>
   </div>
</div>
Tagged:

Comments

  • One information that maybe important about this.
    There is a top pagination on the categories, this one do works fine.

    This is the HTML for the top category pagination:

       <div id="PagerBefore" class="Pager NumberedPager">
          <span class="Previous">«</span>
          <a href="/discussions/p1" class="Highlight p-1 FirstPage">1</a>
          <a href="/discussions/p2" class=" p-2 LastPage" rel="next">2</a>
          <a href="/discussions/p2" class="Next" rel="next">»</a>
       </div>
    

    The only one that do not works are the ones on created topics.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    This might be due to your theme. Try out the default theme and see if the same things happen..or post a link to your forum and the discussion in question.

  • RiverRiver MVP
    edited October 2016

    does not work questions, see this ....

    https://vanillaforums.org/discussion/comment/233540/#Comment_233540

    item c in particular.

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

  • With the default theme all is working. Thanks for the help. I will try to fix my theme.
    There is any helpful documentation about how to create themes?

  • RiverRiver MVP
    edited October 2016

    @pitymaia said:
    There is any helpful documentation about how to create themes?

    only the obvious.

    same discussion link as in my previous comment above

    question 23.

    https://vanillaforums.org/discussion/comment/219925/#Comment_219925

    http://docs.vanillaforums.com/developer/theming/

    and

    https://vanillaforums.org/categories/tutorials

    if you stick with tpl themes and just alter the css, you will have less opportunity to break things. changing views and customizing functions, etc can get you into trouble if you don't know what you are doing, and are new to vanilla, and can also create issues when you upgrade vanilla.
    It is more of a patience thing, then instant gratification. The key is NOT to be in a rush.

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

Sign In or Register to comment.