From 54843a3e21ab477badc6223f54efeb9aa5fa596e Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 21 Feb 2013 16:51:22 +0100 Subject: [PATCH] // Changed CMS list behavior (edit instead of front office view) --- controllers/admin/AdminCmsController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminCmsController.php b/controllers/admin/AdminCmsController.php index 970d1cf93..86a0d0bf3 100644 --- a/controllers/admin/AdminCmsController.php +++ b/controllers/admin/AdminCmsController.php @@ -37,7 +37,6 @@ class AdminCmsControllerCore extends AdminController $this->table = 'cms'; $this->className = 'CMS'; $this->lang = true; - $this->addRowAction('view'); $this->addRowAction('edit'); $this->addRowAction('delete'); $this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'))); @@ -48,7 +47,7 @@ class AdminCmsControllerCore extends AdminController 'meta_title' => array('title' => $this->l('Title'), 'width' => '300', 'filter_key' => 'b!meta_title'), 'position' => array('title' => $this->l('Position'), 'width' => 40,'filter_key' => 'position', 'align' => 'center', 'position' => 'position'), 'active' => array('title' => $this->l('Displayed'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false) - ); + ); // The controller can't be call directly // In this case, AdminCmsContentController::getCurrentCMSCategory() is null