Commit 6b833fda970f0c2faa8a0235c7378764885869e7
1 parent
9a840185
-Bug with fill resize fixed
Showing
4 changed files
with
25 additions
and
5 deletions
Show diff stats
backend/config/main.php
| @@ -31,11 +31,12 @@ | @@ -31,11 +31,12 @@ | ||
| 31 | 'variant-option-group-exclusion' => 'artbox\catalog\controllers\VariantOptionGroupExclController', | 31 | 'variant-option-group-exclusion' => 'artbox\catalog\controllers\VariantOptionGroupExclController', |
| 32 | 'product-option-group-complementary' => 'artbox\catalog\controllers\ProductOptionGroupComplController', | 32 | 'product-option-group-complementary' => 'artbox\catalog\controllers\ProductOptionGroupComplController', |
| 33 | 'product-option-group-exclusion' => 'artbox\catalog\controllers\ProductOptionGroupExclController', | 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', | 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', | ||
| 39 | ], | 40 | ], |
| 40 | 'components' => [ | 41 | 'components' => [ |
| 41 | 'assetManager' => [ | 42 | 'assetManager' => [ |
backend/views/layouts/menu_items.php
| @@ -126,5 +126,17 @@ | @@ -126,5 +126,17 @@ | ||
| 126 | ], | 126 | ], |
| 127 | ], | 127 | ], |
| 128 | ], | 128 | ], |
| 129 | + [ | ||
| 130 | + 'label' => \Yii::t('app', 'Blog'), | ||
| 131 | + 'url' => '#', | ||
| 132 | + 'icon' => 'pencil-square', | ||
| 133 | + 'items' => [ | ||
| 134 | + [ | ||
| 135 | + 'label' => \Yii::t('catalog', 'Articles'), | ||
| 136 | + 'url' => [ 'blog-article/index' ], | ||
| 137 | + 'icon' => 'file-text', | ||
| 138 | + ], | ||
| 139 | + ], | ||
| 140 | + ], | ||
| 129 | ] | 141 | ] |
| 130 | ); | 142 | ); |
| 131 | \ No newline at end of file | 143 | \ No newline at end of file |
common/config/bootstrap.php
| @@ -9,4 +9,7 @@ | @@ -9,4 +9,7 @@ | ||
| 9 | } | 9 | } |
| 10 | if (!Yii::getAlias('@artbox/catalog', false)) { | 10 | if (!Yii::getAlias('@artbox/catalog', false)) { |
| 11 | Yii::setAlias('@artbox/catalog', dirname(dirname(__DIR__)) . '/artweb/artbox-catalog'); | 11 | Yii::setAlias('@artbox/catalog', dirname(dirname(__DIR__)) . '/artweb/artbox-catalog'); |
| 12 | + } | ||
| 13 | + if (!Yii::getAlias('@artbox/weblog', false)) { | ||
| 14 | + Yii::setAlias('@artbox/weblog', dirname(dirname(__DIR__)) . '/artweb/artbox-weblog'); | ||
| 12 | } | 15 | } |
| 13 | \ No newline at end of file | 16 | \ No newline at end of file |
common/config/main.php
| @@ -35,6 +35,10 @@ | @@ -35,6 +35,10 @@ | ||
| 35 | 'class' => 'yii\i18n\PhpMessageSource', | 35 | 'class' => 'yii\i18n\PhpMessageSource', |
| 36 | 'basePath' => '@common/messages', | 36 | 'basePath' => '@common/messages', |
| 37 | ], | 37 | ], |
| 38 | + 'blog' => [ | ||
| 39 | + 'class' => 'yii\i18n\PhpMessageSource', | ||
| 40 | + 'basePath' => '@artbox/weblog/messages', | ||
| 41 | + ], | ||
| 38 | ], | 42 | ], |
| 39 | ], | 43 | ], |
| 40 | 'filedb' => [ | 44 | 'filedb' => [ |