Commit 98b5afb8bbdc835d2bf6edd11c4db663ab27e258
1 parent
a5201f13
-Menu and bug fix
Showing
2 changed files
with
7 additions
and
2 deletions
Show diff stats
backend/views/layouts/menu_items.php
| @@ -70,10 +70,15 @@ | @@ -70,10 +70,15 @@ | ||
| 70 | 'icon' => 'tags', | 70 | 'icon' => 'tags', |
| 71 | 'items' => [ | 71 | 'items' => [ |
| 72 | [ | 72 | [ |
| 73 | - 'label' => \Yii::t('core', 'Category'), | 73 | + 'label' => \Yii::t('catalog', 'Categories'), |
| 74 | 'url' => [ 'category/index' ], | 74 | 'url' => [ 'category/index' ], |
| 75 | 'icon' => 'file-text', | 75 | 'icon' => 'file-text', |
| 76 | ], | 76 | ], |
| 77 | + [ | ||
| 78 | + 'label' => \Yii::t('catalog', 'Products'), | ||
| 79 | + 'url' => [ 'product/index' ], | ||
| 80 | + 'icon' => 'gift', | ||
| 81 | + ], | ||
| 77 | ], | 82 | ], |
| 78 | ], | 83 | ], |
| 79 | [ | 84 | [ |
common/config/main.php
| @@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
| 51 | 'imagemanager' => [ | 51 | 'imagemanager' => [ |
| 52 | 'class' => 'noam148\imagemanager\components\ImageManagerGetPath', | 52 | 'class' => 'noam148\imagemanager\components\ImageManagerGetPath', |
| 53 | 'mediaPath' => dirname(dirname(__DIR__)) . '/storage', | 53 | 'mediaPath' => dirname(dirname(__DIR__)) . '/storage', |
| 54 | - 'cachePath' => 'assets/images', | 54 | + 'cachePath' => '../../storage/cache', |
| 55 | 'useFilename' => true, | 55 | 'useFilename' => true, |
| 56 | 'absoluteUrl' => false, | 56 | 'absoluteUrl' => false, |
| 57 | ], | 57 | ], |