PDA

View Full Version : Statistics Display - Total listing?



rosegarden
July 2, 2012, 10:14 PM
How to make it display total listings instead of new and used?

rosegarden
July 2, 2012, 11:43 PM
Ok solved it not sure if it is best solution but it is working

{$stat_item.total|@array_sum}

Santiago Blanco
November 19, 2014, 03:03 PM
I want to display statistics of the given category in the listings box plugin. This {$stat_item.total|@print_r} prints 1

Santiago Blanco
November 19, 2014, 03:14 PM
This works well except for the statistic. This gives all the info but i need the exact amount for each category:
{$stat_item.total|@print_r} {$stat_item.page_key|@print_r} Listed Here you could see more... <a href="{$rlBase}{if $config.mod_rewrite}{$pages.$page_key}/{/if}">{if $name}{$name}{else}{$block.name}{/if}</a>