diff --git a/plugins/CustomVariables/Controller.php b/plugins/CustomVariables/Controller.php index 83f206ae02c638475aa343627fd7d985cda392f1..5985e69360402ed2e3761237ba6c83cd5b109bfe 100644 --- a/plugins/CustomVariables/Controller.php +++ b/plugins/CustomVariables/Controller.php @@ -37,6 +37,7 @@ class Piwik_CustomVariables_Controller extends Piwik_Controller $view->setSortedColumn( 'nb_visits' ); $view->setLimit( 10 ); $view->setFooterMessage( 'Help: <a target="_blank" href="http://piwik.org/docs/custom-variables/">Tracking Custom Variables in Piwik</a>'); + $this->setMetricsVariablesView($view); return $this->renderView($view, $fetch); } diff --git a/plugins/Referers/Controller.php b/plugins/Referers/Controller.php index 78f947f0661e3888a9a4d1d62c86c61b16787a74..6ad60f04e762411f04a51769cf9549ca64ed637c 100644 --- a/plugins/Referers/Controller.php +++ b/plugins/Referers/Controller.php @@ -73,6 +73,7 @@ class Piwik_Referers_Controller extends Piwik_Controller $view->enableShowGoals(); $view->setColumnsToDisplay( array('label', 'nb_visits') ); $view->setColumnTranslation('label', Piwik_Translate('Referers_ColumnRefererType')); + $this->setMetricsVariablesView($view); return $this->renderView($view, $fetch); } @@ -183,6 +184,7 @@ class Piwik_Referers_Controller extends Piwik_Controller $view->setColumnsToDisplay( array('label','nb_visits') ); $view->setColumnTranslation('label', Piwik_Translate('Referers_ColumnCampaign')); $view->setFooterMessage( 'Help: <a target="_blank" href="http://piwik.org/docs/tracking-campaigns/">Tracking Campaigns in Piwik</a> - <a target="_blank" href="http://piwik.org/docs/tracking-campaigns/url-builder/">URL Builder tool</a>'); + $this->setMetricsVariablesView($view); return $this->renderView($view, $fetch); }