Skip to content
Extraits de code Groupes Projets
Valider d76cac46 rédigé par mattab's avatar mattab
Parcourir les fichiers

Fix order menu in UI tests

parent 04c34807
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -59,7 +59,8 @@ class UserCountryMap extends \Piwik\Plugin ...@@ -59,7 +59,8 @@ class UserCountryMap extends \Piwik\Plugin
public function addMenu() public function addMenu()
{ {
MenuMain::getInstance()->add('General_Visitors', 'UserCountryMap_RealTimeMap', array('module' => 'UserCountryMap', 'action' => 'realtimeWorldMap'), true, $order = 70); MenuMain::getInstance()->add('General_Visitors', 'UserCountryMap_RealTimeMap',
array('module' => 'UserCountryMap', 'action' => 'realtimeWorldMap'), true, $order = 70);
} }
public function getJsFiles(&$jsFiles) public function getJsFiles(&$jsFiles)
......
...@@ -58,11 +58,13 @@ class VisitFrequency extends \Piwik\Plugin ...@@ -58,11 +58,13 @@ class VisitFrequency extends \Piwik\Plugin
function addWidgets() function addWidgets()
{ {
WidgetsList::add('General_Visitors', 'VisitFrequency_WidgetOverview', 'VisitFrequency', 'getSparklines'); WidgetsList::add('General_Visitors', 'VisitFrequency_WidgetOverview', 'VisitFrequency', 'getSparklines');
WidgetsList::add('General_Visitors', 'VisitFrequency_WidgetGraphReturning', 'VisitFrequency', 'getEvolutionGraph', array('columns' => array('nb_visits_returning'))); WidgetsList::add('General_Visitors', 'VisitFrequency_WidgetGraphReturning', 'VisitFrequency', 'getEvolutionGraph',
array('columns' => array('nb_visits_returning')));
} }
function addMenu() function addMenu()
{ {
MenuMain::getInstance()->add('General_Visitors', 'VisitFrequency_SubmenuFrequency', array('module' => 'VisitFrequency', 'action' => 'index')); MenuMain::getInstance()->add('General_Visitors', 'VisitFrequency_SubmenuFrequency',
array('module' => 'VisitFrequency', 'action' => 'index'), true, $order = 65);
} }
} }
...@@ -88,7 +88,8 @@ class VisitTime extends \Piwik\Plugin ...@@ -88,7 +88,8 @@ class VisitTime extends \Piwik\Plugin
function addMenu() function addMenu()
{ {
MenuMain::getInstance()->add('General_Visitors', 'VisitTime_SubmenuTimes', array('module' => 'VisitTime', 'action' => 'index')); MenuMain::getInstance()->add('General_Visitors', 'VisitTime_SubmenuTimes',
array('module' => 'VisitTime', 'action' => 'index'), true, $order = 55);
} }
public function getReportsWithGoalMetrics(&$dimensions) public function getReportsWithGoalMetrics(&$dimensions)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter