Remove link count from website statistics
Written by Administrator   
Wednesday, 18 June 2008
If you want to remove the count of links from the statistics module and leave only the important stuff do this:

Find this file: yousite/modules/mod_stats.php

In line 49, remove this code:

 $query="SELECT COUNT( id ) AS count_links"
 . "\n FROM #__weblinks"
 . "\n WHERE published = 1"
 echo "<strong>"._LINKS_STAT.":</strong> ".$database->loadResult() . "<br />\n";

Save the file and upload it back to your server. Now the line that stated the number of link is not there.

Related Items:

Write Comment

Code:* Code

Add as favourites (855) | Quote this article on your site | Views: 11105

Be first to comment this article
Last Updated ( Wednesday, 18 June 2008 )