From e1adee2f3e7d4499e57d555981690aeb91ef572c Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 29 Mar 2012 16:10:41 +0000 Subject: [PATCH] // Blocklayered: Add layered route rule customization git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14373 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminMetaController.php | 6 ++++++ translations/fr/admin.php | 1 + 2 files changed, 7 insertions(+) diff --git a/controllers/admin/AdminMetaController.php b/controllers/admin/AdminMetaController.php index c0745a332..5504098fe 100644 --- a/controllers/admin/AdminMetaController.php +++ b/controllers/admin/AdminMetaController.php @@ -384,6 +384,11 @@ class AdminMetaControllerCore extends AdminController $this->checkAndUpdateRoute('category_rule'); } + public function updateOptionPsRouteLayeredRule() + { + $this->checkAndUpdateRoute('layered_rule'); + } + public function updateOptionPsRouteSupplierRule() { $this->checkAndUpdateRoute('supplier_rule'); @@ -437,6 +442,7 @@ class AdminMetaControllerCore extends AdminController { $this->addFieldRoute('product_rule', $this->l('Route to products')); $this->addFieldRoute('category_rule', $this->l('Route to category')); + $this->addFieldRoute('layered_rule', $this->l('Route to category with attribute selected_filter for the module block layered')); $this->addFieldRoute('supplier_rule', $this->l('Route to supplier')); $this->addFieldRoute('manufacturer_rule', $this->l('Route to manufacturer')); $this->addFieldRoute('cms_rule', $this->l('Route to CMS page')); diff --git a/translations/fr/admin.php b/translations/fr/admin.php index 749671740..cf204be81 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -1871,6 +1871,7 @@ $_LANGADM['AdminMeta933efccb4d6d6ce6755b290069644957'] = 'créez un fichier .hta $_LANGADM['AdminMeta93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; $_LANGADM['AdminMeta9ca94e67feafa7c087ed70257d54ce53'] = 'Mots-clés : %s'; $_LANGADM['AdminMetaa6bb76858f8b4b61c050ad7a7ac57e06'] = 'Méta description :'; +$_LANGADM['AdminMetaaa75f9d383049a51a3fc7254fffd81fc'] = 'Route vers les catégories avec le paramètre selected_filter pour le module navigation à facette'; $_LANGADM['AdminMetaacaa02ab1d800ce9a0b3df2e4ab8909a'] = 'Désactiver l\'option Apache MultiViews'; $_LANGADM['AdminMetab718adec73e04ce3ec720dd11a06a308'] = 'ID'; $_LANGADM['AdminMetab78a3223503896721cca1303f776159b'] = 'Titre';