// 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
This commit is contained in:
mDeflotte
2012-03-29 16:10:41 +00:00
parent 2f2cc04b59
commit e1adee2f3e
2 changed files with 7 additions and 0 deletions
@@ -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'));