diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-02-03 06:36:43 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-02-03 06:36:43 +0300 |
commit | 4903e334a4571579006e8682260936e2f2f678be (patch) | |
tree | 5f498eae1d37b8b4c8899d86771a61ac2c2659a3 /plugins/Referers/Referers.php | |
parent | bebb9c83636ab62c4be54e43dc335e2c7073ab7a (diff) |
- all widgets now registered
- cleaned plugins files
- when clicking multiple times on the menu, only load once
- when clicking fast on different sections of the menu, only displays the latest clicked (instead of displaying all of them one after another)
- added Loading...
- added proper error handling (no more JS popup)
- fixed URL in widgetize modules
Diffstat (limited to 'plugins/Referers/Referers.php')
-rw-r--r-- | plugins/Referers/Referers.php | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/plugins/Referers/Referers.php b/plugins/Referers/Referers.php index ca1f58b5f8..ba4cbf9a89 100644 --- a/plugins/Referers/Referers.php +++ b/plugins/Referers/Referers.php @@ -14,12 +14,7 @@ * @package Piwik_Referers
*/ class Piwik_Referers extends Piwik_Plugin -{ - public function __construct() - { - parent::__construct(); - } - +{ public function setCategoryDelimiter($delimiter) { self::$actionCategoryDelimiter = $delimiter; @@ -39,15 +34,7 @@ class Piwik_Referers extends Piwik_Plugin return $info; } - - function install() - {
- } - - function uninstall() - { - } - + function getListHooksRegistered() { $hooks = array( @@ -317,8 +304,12 @@ class Piwik_Referers extends Piwik_Plugin -Piwik_AddWidget( 'Referers', 'getKeywords', 'Keywords'); -Piwik_AddWidget( 'Referers', 'getLastDistinctWebsitesGraph', 'Distinct websites graph'); +Piwik_AddWidget( 'Referers', 'getKeywords', 'List of Keywords'); +Piwik_AddWidget( 'Referers', 'getPartners', 'List of Partners'); +Piwik_AddWidget( 'Referers', 'getCampaigns', 'List of Campaigns'); +Piwik_AddWidget( 'Referers', 'getWebsites', 'List of external Websites'); +Piwik_AddWidget( 'Referers', 'getSearchEngines', 'Best search engines'); +Piwik_AddWidget( 'Referers', 'getRefererType', 'Overview'); Piwik_AddMenu('Referers', 'Evolution', array('module' => 'Referers')); Piwik_AddMenu('Referers', 'Search engines & keywords', array('module' => 'Referers', 'action' => 'getSearchEnginesAndKeywords')); |