Changelog

2.7.2-alpha2

  • i18n update
  • Removed cmsSearch. In a separate package skeeks/cms-search
  • Remove the old properties of CMS components
  • Agent Management Settings moved to the config
  • \Yii::setAlias(‘template’, ‘@app/views/’); is removed
  • Correcting typos

2.7.2.alpha

  • Removed is deprecated
  • Rewritten cmsToolbar
  • Rewritten view actions
  • Removed I18NDb. In a separate package skeeks/cms-i18n-db
  • Disabled event ADMIN_READY
  • Updated translation functionality
  • Removed columns files_depricated in cms_tree and cms_content_element
  • Completely rewritten mechanism of personal user cabinet
  • Remove the old classes
  • Sitemap updated
  • Removed UserAction
  • Closed personal user profiles!
  • Removed skeeks\cms\models\TreeMenu
  • Rewrite admin actions
  • Removed skeeks\cms\modules\admin\actions\modelEditor\AdminOneModelSystemAction

If you are using a personal user account, add the templates \frontend\templates\default\modules\cms\user\edit.php

/* @var $this       yii\web\View */
/* @var $context    \frontend\controllers\UserController */
/* @var $model      common\models\User */

$context = $this->context;
$model = $context->user;

If you use an alias template, mount it in bootstrap:

'on beforeRequest' => function ($event) {
     \Yii::setAlias('template', '@app/views');
},

Configurate view

'view' => [
            'theme' =>
            [
                'pathMap'       =>
                [
                    '@app/views' =>
                    [
                        '@app/templates/default',
                    ],
                ]
            ],
        ],

 

Auth client

<?= yii\authclient\widgets\AuthChoice::widget([
                 'baseAuthUrl'  => ['/authclient/auth/client'],
                 'popupMode'    => true,
            ]) ?>

 

Все комментарии (0)
Нет комментариев