We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12422
    • 29 Posts
    Dear community.

    I am using Jot for commenting on articles on a website, but I need the pagination to always be visible, as long as there are any comments.
    I have tried using &paginateAlwaysShowLinks=`1` from Ditto, but this does not work (as well as reading the wiki).

    As it is now, I only see pagination when the amount of comments exceed the pagination limit.

    Hope I made myself clear.
    Does anyone have an idea for a work-around?

    Thanks in advance...
      • 12422
      • 29 Posts
      Nobody out there experienced kinda the same?

      Here is my Jot, if any help:
      [!Jot? &action=`comments` &tplForm=`kommentarTpl` &subscribe=`1` &pagination=`5` &paginateAlwaysShowLinks=`1` &css=`0`!]

      [!Jot? &action=`form` moderated=`0` &css=`0` &captcha=`2` &notify=`2`!]

      So when I have 1 comment, I want the pagination to show, even though there are no Next / Previous..

      Really hope someone can bring me further in this case, as it is killing me huh
        • 12422
        • 29 Posts
        I was thinking about making a phx call within the template, but I don’t think it’s possible.
        Does anyone know if this can be done?
        The way I’ve tried to accomplish:

        [+phx:if=`[!Jot? &action=`count-comments`!]`:gt=`1`:then=`Output if comment exists`:else=`Output if no comments`+]
        This does’nt seem to work though sad
          • 12422
          • 29 Posts
          I finally solved the puzzle!

          I had to change som parameters in jot.class.inc.php file...

          If anybody is experiencing same trouble as me, write for assistance...