Hello
I have prolem. I'd like make list of category of articles and count articles in its. I try do this with code:
[[!getResources? &parents=`6` &limit=`` &tpl=`NominationListTpl`]][[+total]]
When this code is 1 its works but when i put some more this code shows 0 or count from first category.
I have somethink this:
<ul>
<li><a href="assets/spark/category.html" data-hovercolor="#176daf">Gry<span>([[!getResources? &parents=`6` &limit=`` &tpl=`NominationListTpl`]][[+total]])</span></a></li>
<li><a href="assets/spark/category.html" data-hovercolor="#a31a1a">PC<span>([[!getResources? &parents=`25` &limit=`` &tpl=`NominationListTpl`]][[+total]])</span></a></li>
<li><a href="assets/spark/category.html" data-hovercolor="#25823b">Xbox<span>([[!getResources? &parents=`22` &limit=`` &tpl=`NominationListTpl`]][[+total]])</span></a></li>
<li><a href="assets/spark/category.html" data-hovercolor="#ca7e11">PlayStation<span>([[!getResources? &parents=`23` &limit=`` &tpl=`NominationListTpl`]][[+total]])</span></a></li>
<li><a href="assets/spark/category.html" data-hovercolor="#176daf">Technologia<span>([[!getResources? &parents=`26` &limit=`` &tpl=`NominationListTpl`]][[+total]])</span></a></li>
<li><a href="assets/spark/category.html" data-hovercolor="#25823b">Mobilne<span>([[!getResources? &parents=`27` &limit=`` &tpl=`NominationListTpl`]][[+total]])</span></a></li>
</ul>
So how can i do this?
Thanks