List Manager Forum

Row count?

User moon_1849 2014-11-05 12:51:31

Is it possible to show the count of the amount of tablerows?

Moonsoft support 2014-11-05 19:28:48

Hi,
there is no toolbar for that,sorry. You would need another module able to count records from list manager database and show the result, we can think on our calcbuilder for ex. Also you can try to tweak one of the total operations within listmanager in case you have any numeric column at your table. Set the 'Total' operation to 'SUM', and enable the total row at module or menu configuration. This will show you the sum of the values, now change the operation at the source code to perform a 'count' instead. You will find

select sum(value)

about line 472 at

JOOMLA\components\com_listmanager\models\serverpages.php

files. You can change it to

select count(value)

to recover the row count.

Hope this helps, regards

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
List Manager

Build different lists for your site

Buy now!