Lost Password?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size
  • default color
  • red color
  • green color
Member Area

Web Code

Home arrow Joomla arrow Joomla Guides arrow Remove link count from website statistics     
Remove link count from website statistics PDF Print E-mail
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"
 ;
 $database->setQuery($query);
 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
Name:
Title:
Comment:

Code:* Code


Add as favourites (848) | Quote this article on your site | Views: 11077

Be first to comment this article
Last Updated ( Wednesday, 18 June 2008 )
 
< Prev   Next >

Popular of Late