Page 1 of 1

<!--TOTAL_ITEMS--> not working

Posted: Sat Jun 22, 2013 7:08 pm
by ntesic
As title says, <!--TOTAL_ITEMS--> code not return total items of thumbs, only return how much are listed on page, when I list thumbs on main page. What could be problem?

Re: <!--TOTAL_ITEMS--> not working

Posted: Sun Jun 23, 2013 12:49 pm
by Ricky B
try this


<ul class="thumbs cats">
<category order=clicks num=1-100>
<li><div>
<a href="/category/<!--CATEGORY_NAME-->/?<!--THUMB_LINK-->" title="<!--CATEGORY_NAME-->"><img src="<!--THUMB_URL-->" class="t_img" alt="<!--CATEGORY_NAME-->" /> <strong><!--CATEGORY_NAME--> (<!--TOTAL_ITEMS-->)</strong></a></div></li>
</category>
</ul>

Re: <!--TOTAL_ITEMS--> not working

Posted: Sun Jun 23, 2013 2:17 pm
by admin
If you don't have <navigation tag script thinks that you don't need total amount and don't count it trying to save some resources.

Re: <!--TOTAL_ITEMS--> not working

Posted: Sun Jun 23, 2013 2:37 pm
by ntesic
I using custom pagination without navigation tag, but will try somehow to put navigation tag but to try not to display it

Re: <!--TOTAL_ITEMS--> not working

Posted: Mon Jun 24, 2013 6:03 am
by admin
Yep, you can add it within comment tag like

<!--

navigation


-->