<!--TOTAL_ITEMS--> not working

Post Reply
ntesic
Posts: 29
Joined: Fri Jun 07, 2013 11:48 am
Contact:

<!--TOTAL_ITEMS--> not working

Post 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?
Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

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

Post 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>
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

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

Post 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.
Don't forget to run script update
ntesic
Posts: 29
Joined: Fri Jun 07, 2013 11:48 am
Contact:

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

Post by ntesic »

I using custom pagination without navigation tag, but will try somehow to put navigation tag but to try not to display it
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

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

Post by admin »

Yep, you can add it within comment tag like

<!--

navigation


-->
Don't forget to run script update
Post Reply