bring into standalone plugin for distribution
This commit is contained in:
55
templates/element/Layout/submenu.php
Normal file
55
templates/element/Layout/submenu.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<?= $this->ActiveLink->link('Catalogs', [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ProductCatalogs',
|
||||
'action' => 'index',
|
||||
], [
|
||||
'class' => 'submenu-link',
|
||||
'target' => [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ProductCatalogs',
|
||||
],
|
||||
]); ?>
|
||||
<?= $this->ActiveLink->link('Products', [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'Products',
|
||||
'action' => 'index',
|
||||
], [
|
||||
'class' => 'submenu-link',
|
||||
'target' => [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'Products',
|
||||
],
|
||||
]); ?>
|
||||
<?= $this->ActiveLink->link('Categories', [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ProductCategories',
|
||||
'action' => 'index',
|
||||
], [
|
||||
'class' => 'submenu-link',
|
||||
'target' => [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ProductCategories',
|
||||
],
|
||||
]); ?>
|
||||
<?= $this->ActiveLink->link('Attributes', [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ProductCategoryAttributes',
|
||||
'action' => 'index',
|
||||
], [
|
||||
'class' => 'submenu-link',
|
||||
'target' => [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ProductCategoryAttributes',
|
||||
],
|
||||
]); ?>
|
||||
<?= $this->ActiveLink->link('External Catalogs', [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ExternalProductCatalogs',
|
||||
'action' => 'index',
|
||||
], [
|
||||
'class' => 'submenu-link',
|
||||
'target' => [
|
||||
'plugin' => 'CakeProducts',
|
||||
'controller' => 'ExternalProductCatalogs',
|
||||
],
|
||||
]); ?>
|
||||
Reference in New Issue
Block a user