//dashboard data-chart-line added

This commit is contained in:
Vincent Augagneur
2013-09-05 19:07:49 +02:00
parent e7495f3fe4
commit 4b2ef10dd6
5 changed files with 73 additions and 68 deletions
+1 -7
View File
@@ -42,17 +42,11 @@ class Dashproducts extends Module
public function install()
{
if (!parent::install() || !$this->registerHook('dashboardZoneTwo') || !$this->registerHook('dashboardData') || !$this->registerHook('displayBackOfficeHeader'))
if (!parent::install() || !$this->registerHook('dashboardZoneTwo') || !$this->registerHook('dashboardData'))
return false;
return true;
}
public function hookDisplayBackOfficeHeader()
{
if (get_class($this->context->controller) == 'AdminDashboardController')
$this->context->controller->addJqueryPlugin('timeago');
}
public function hookDashboardZoneTwo($params)
{
return $this->display(__FILE__, 'dashboard_zone_two.tpl');