forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: koch on December 01, 2005, 04:04:26 pm
-
I got categories and albums with 0 files but a lot of linked files.
How to shows its quantity on the main page with 1 more collumn LINKED?
-
Do you at least have the "Show number of linked files " config option set to yes?
-
sure! this option is "yes"
-
your going to need to collect more statistics on your own in the get_cat functions.
You might check the CPGOcat plugin, as I mod those sections in the plugin to inlcude a "last Updated" column for the category.
Theres a bunch of additional code in CPGOcat (http://cpg-contrib.org/thumbnails.php?album=12) that has to do with sorting said categories and columns of which you can ignore.
You should look at the sections that I have remarks of "//custom statistics" around. and do something similar either with a plugin a'la cpgocat or make a mod and change those functions in coppermine.