? Pending

User tests: Successful: Unsuccessful:

avatar astridx
astridx
13 May 2017

Summary of Changes

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.

Testing Instructions

  1. Install web links https://github.com/joomla-extensions/weblinks/releases

  2. Create a web link and a menu item for showing the web link per category.

  3. Open frond end and click the web link so stats are collected.

  4. 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.

  5. Navigate to the front page and see, that the stats for web links are shown

  6. Navigate to the plugin manager and see, that the plugin System - Web Links is not active

  7. 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.

Expected result

If the plugin System - Web Links is not active, there should no stats are shown.

Actual result

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.

avatar astridx astridx - open - 13 May 2017
avatar astridx astridx - change - 13 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 May 2017
Category Modules Front End
avatar astridx astridx - change - 13 May 2017
The description was changed
avatar astridx astridx - edited - 13 May 2017
avatar astridx astridx - change - 13 May 2017
Title
useplugininstatsmoduleforfrontend
Add statistics in mod_stats (front end) depending on the event "onGetStats"
avatar astridx astridx - edited - 13 May 2017
avatar astridx
astridx - comment - 13 May 2017

Close because of duplicated: #15138

avatar astridx astridx - change - 13 May 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-05-13 10:33:05
Closed_By astridx
Labels Added: ?
avatar astridx astridx - close - 13 May 2017

Add a Comment

Login with GitHub to post a comment