|
|
|
|
|
| Wednesday, 10 January 2007 | ||||||
|
This page details how to fix a couple of minor bugs I noticed in the mod_jstats_visitors_by_country2.3.zip download for JoomlaStats found here. Country Icons do not display: There are a couple of errors in the path to the images. I suspect the JoomlaStats component has changed and the modules haven't been updated. You need to open modules/mod_jstats_visitors_by_country.php and edit lines 74 & 76 removing tld/ from the path. They should look like so once modified:
'Top x' lines look a little untidy: The 'Top x' lines could be a little neater. I edited line 18 of the same file to remove the additional space and apostrophe as it isn't need. It should look like so:
This requires an edit line 47 as the substr() now starts from position 1 not 2, like so: I also edited lines 33 and 40 to give Week and Month an upper-case W and M respectively. If you prefer you can find an already modified version of the file here. I know these are only minor changes, but I like things nice'n'tidy Quote this article on your site
Only registered users can write comments.
|
||||||




Comments (2)

