Commit ffa10251411a737f09d330a497d30487df8d32cb
1 parent
e66561dc
-Blog in process
Showing
2 changed files
with
18 additions
and
6 deletions
Show diff stats
backend/config/main.php
... | ... | @@ -31,12 +31,14 @@ |
31 | 31 | 'variant-option-group-exclusion' => 'artbox\catalog\controllers\VariantOptionGroupExclController', |
32 | 32 | 'product-option-group-complementary' => 'artbox\catalog\controllers\ProductOptionGroupComplController', |
33 | 33 | 'product-option-group-exclusion' => 'artbox\catalog\controllers\ProductOptionGroupExclController', |
34 | - 'variant-option-complementary' => 'artbox\catalog\controllers\VariantOptionComplController', | |
35 | - 'variant-option-exclusion' => 'artbox\catalog\controllers\VariantOptionExclController', | |
36 | - 'product-option-complementary' => 'artbox\catalog\controllers\ProductOptionComplController', | |
37 | - 'product-option-exclusion' => 'artbox\catalog\controllers\ProductOptionExclController', | |
38 | - 'import' => 'artbox\catalog\controllers\ImportController', | |
39 | - 'blog-article' => 'artbox\weblog\controllers\ArticleController', | |
34 | + 'variant-option-complementary' => 'artbox\catalog\controllers\VariantOptionComplController', | |
35 | + 'variant-option-exclusion' => 'artbox\catalog\controllers\VariantOptionExclController', | |
36 | + 'product-option-complementary' => 'artbox\catalog\controllers\ProductOptionComplController', | |
37 | + 'product-option-exclusion' => 'artbox\catalog\controllers\ProductOptionExclController', | |
38 | + 'import' => 'artbox\catalog\controllers\ImportController', | |
39 | + 'blog-article' => 'artbox\weblog\controllers\ArticleController', | |
40 | + 'blog-category' => 'artbox\weblog\controllers\CategoryController', | |
41 | + 'blog-tag' => 'artbox\weblog\controllers\TagController', | |
40 | 42 | ], |
41 | 43 | 'components' => [ |
42 | 44 | 'assetManager' => [ | ... | ... |
backend/views/layouts/menu_items.php
... | ... | @@ -136,6 +136,16 @@ |
136 | 136 | 'url' => [ 'blog-article/index' ], |
137 | 137 | 'icon' => 'file-text', |
138 | 138 | ], |
139 | + [ | |
140 | + 'label' => \Yii::t('catalog', 'Categories'), | |
141 | + 'url' => [ 'blog-category/index' ], | |
142 | + 'icon' => 'file-text', | |
143 | + ], | |
144 | + [ | |
145 | + 'label' => \Yii::t('catalog', 'Tags'), | |
146 | + 'url' => [ 'blog-tag/index' ], | |
147 | + 'icon' => 'file-text', | |
148 | + ], | |
139 | 149 | ], |
140 | 150 | ], |
141 | 151 | ] | ... | ... |