Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-10-23 05:40:45 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-23 05:40:45 +0400
commit375a83c961c5f57e8df2582fb456e23e2639929f (patch)
treebd64da267a2cf63e5cb8b1c43765a2e6dc13d388 /plugins/VisitorInterest/VisitorInterest.php
parent79a2600beb09e65910573286accd2ab60ac28b3a (diff)
display only visits metric and no series picker
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r--plugins/VisitorInterest/VisitorInterest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php
index 6651c4d4ca..c587784fd7 100644
--- a/plugins/VisitorInterest/VisitorInterest.php
+++ b/plugins/VisitorInterest/VisitorInterest.php
@@ -192,8 +192,11 @@ class VisitorInterest extends \Piwik\Plugin
$view->config->show_limit_control = false;
$view->config->show_search = false;
$view->config->show_table_all_columns = false;
+ $view->config->columns_to_display = array('label', 'nb_visits');
+ $view->config->show_series_picker = false;
if ($view->isViewDataTableId(Graph::ID)) {
+ $view->config->selectable_columns = array();
$view->config->max_graph_elements = 10;
}
}
@@ -211,8 +214,11 @@ class VisitorInterest extends \Piwik\Plugin
$view->config->show_limit_control = false;
$view->config->show_search = false;
$view->config->show_table_all_columns = false;
+ $view->config->columns_to_display = array('label', 'nb_visits');
+ $view->config->show_series_picker = false;
if ($view->isViewDataTableId(Graph::ID)) {
+ $view->config->selectable_columns = array();
$view->config->max_graph_elements = 10;
}
}