Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page General discussion > Little addition to stats-module Permanent link to this page
 
 
Author Message:
awrog
Little addition to stats-module
17 October 2007 10:21
Anonymous L.S.

Suggestion for an addition to the stats-module: include number of downloads in stats:

.\modules\mod_stats.php

$rsc=$conn->Count("SELECT COUNT(id) FROM #__downloads WHERE published=1");
$content .="<br /><strong>"._LINKS_DOWNLOADS.":</strong> ".$rsc;

The following will have to be added in .\lang\en\modules\mod_stats.php :

define('_LINKS_DOWNLOADS', "Downloads");

AWRog

(has been entered in SF feature-request)
 
trex1512
Re: Little addition to stats-module
17 October 2007 11:29
Anonymous Hi

Nice work... smile
 
Top