black-lamp/blcms-itpl

Backend template

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:yii2-extension

v0.0.1 2016-10-26 14:04 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:03:15 UTC


README

#Itpl - template for backend

for extensions:

Installation

  1. For install this template, your composer.json file must contain next block:
    "repositories": [
        {
            "type": "vcs",
            "url":  "https://github.com/GutsVadim/blcms-itpl.git",
            "options": {
                "github-oauth": {
                    "github.com": "YOUR_TOKEN"
                }
            }
        }
    ]

You may generate your Github token here.

  1. To work links, that direct to the frontend, you must configure the backend config:
'components' => [
    ...
    'urlManagerFrontend' => [
        'class' => bl\multilang\MultiLangUrlManager::className(),
        'baseUrl' => '/',
        'showScriptName' => false,
        'enablePrettyUrl' => true,
        'enableDefaultLanguageUrlCode' => false,
        'rules' => [
            [
                'class' => bl\articles\UrlRule::className()
            ],
            [
                'class' => bl\cms\shop\UrlRule::className(),
                'prefix' => 'shop'
            ],
        ]
    ]
]