Answer the question
In order to leave comments, you need to log in
Why doesn't jot see the number of pages?
I display reviews on the pages through Jot.
Page call:
[!Jot? &placeholders=`15` &output=`0` &subscribe=`1` &pagination=`10` &moderated=`1` &tplForm=`otziv_form` &tplComments=`otziv_comment` &customfields=`name,adres,datauser`!]
[+jot.html.comments+]
[+jot.html.navigation+]
[+jot.html.form+]
[+jot.html.moderate+]
<a name="jotnav[+jot.link.id+]"></a>
<div class="jot-nav">
<!--a rel="nofollow" class="jot-btn jot-show-all" href="[+jot.link.navigation:esc+][+jot.querykey.navigation+]=0#jotnav[+jot.link.id+]">Просмотреть все</a-->
[+jot.page.current:gt=`1`:then=`
<a rel="nofollow" class="jot-btn" href="[+jot.link.navigation:esc+][+jot.querykey.navigation+]=[+jot.page.current:math=`?-1`+]#jotnav[+jot.link.id+]">« Предыдущяя</a>
`+]
[+jot.pages+]
[+jot.page.current:lt=`[+jot.page.total+]`:then=`
<a rel="nofollow" class="jot-btn" href="[+jot.link.navigation:esc+][+jot.querykey.navigation+]=[+jot.page.current:math=`?+1`+]#jotnav[+jot.link.id+]">Следующая »</a>
`+]
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question