User tests: Successful: Unsuccessful:
I added showing statistics in mod_stats (front end) depending on the event "onGetStats".
And I deleted the fix way, web links counted the stats.
mod_stats_admin used the event "onGetStats" already.
Install web links https://github.com/joomla-extensions/weblinks/releases
Create a web link and a menu item for showing the web link per category.
Open frond end and click the web link so stats are collected.
Create a module that shows statistics in frond end and select hit counter. Select a position for this module and show it on all pages.
Navigate to the front page and see, that the stats for web links are shown
Navigate to the plugin manager and see, that the plugin System - Web Links is not active
Apply my patch and see, that stats are shown if the plugin is active and they are not shown, if the plugin is not active.
If the plugin System - Web Links is not active, there should no stats are shown.
Stats are shown in the front end for the component web links independent of the plugin System - Web Links.
If another component used the event "onGetStats", these stats are only shown in the back end module
mod_stats_admin and not in the frond end module mod_stats.
Status | New | ⇒ | Pending |
Category | ⇒ | Modules Front End |
Title |
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-13 10:33:05 |
Closed_By | ⇒ | astridx | |
Labels |
Added:
?
|
Close because of duplicated: #15138