Download the PHP package intermundia/yiicms without Composer
On this page you can find all versions of the php package intermundia/yiicms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download intermundia/yiicms
More information about intermundia/yiicms
Files in intermundia/yiicms
Package yiicms
Short Description Package contains core models, migrations, behaviors, controllers etc. For the Yii2 CMS
License BSD-4-Clause
Informations about the package yiicms
Yii2 CMS core
Package contains core models, migrations, behaviors, controllers etc. for the Yii2 CMS
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Upgrading from single site to Multi site
Important!!!
Make sure you do not override ContentTree::getActiveTranslation
and BaseModel::getActiveTranslation
methods
-
Add user component in
console/config.php
-
Add controllers in
console/config.php
-
Configure
mulsitecore
component incommon/config/base.php
If you want to have different domains for different environments, better to create ignored file and include insidemultisitecore
config[Update].
Each domain now can correspond to associative array in the following format
Full Example:
-
Add console script to run core migrations in
./migrate
bash script as the first line -
Run migration
-
For switch language from 'en' to 'en-US'
-
Read languages from multiSiteCore websites and insert it in language table
-
Add websites in contentTree
- Make
frontend/controllers/ContentTreeController
to be extend of core'sFrontendContentTreeController
-
To copy the website content when you have already run
php console/yii sync/websites
- Copy language inside website
To update alias, alias-path for and corresponding file manager items run
SluggableBehavior
will update alias
and alias_path
attributes for each record in content_tree_translation
table
that belongs to provided $websiteKey
.
Corresponding file_manager_item
records are also updated.
Usersnap
For usersnap website_translation model have two parameters, usersnap_code where one should input code from usersnap.com and type. There are 3 different types:
Disabled
. (in this case usersnap is not displayed)Always display
. (in this case usersnap is always visible)Display if url has usersnap=1 in get
(If you want to access usersnap and this option is selected, you should pass any get paramusersnap
to url once, which will save status in session and display usersnap untill session will expire or will be removed manually)
All versions of yiicms with dependencies
kartik-v/yii2-widget-select2 Version *
apollo11/yii2-logger Version ^v1.3.0