News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

How to add LINKED files count to Category at mainpage?

Started by koch, December 01, 2005, 04:04:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

koch

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?

donnoman

Do you at least have the "Show number of linked files " config option set to yes?

koch


donnoman

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 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.