davidjeddy/yii2-zeroforksgiven-theme

There is no license information available for the latest version (dev-master) of this package.

Zero Forks Given Theme

dev-master 2016-03-17 22:12 UTC

This package is auto-updated.

Last update: 2024-11-05 19:09:55 UTC


README

Yii2 Custom Theme for zeroforksgiven.com

Credit

Based on https://github.com/sheillendra/yii2-theme

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist davidjeddy/yii2-zfg-theme "*"

or add

"davidjeddy/yii2-zfg-theme": "*"

to the require section of your composer.json file.

Application

Change your application config (backend or frontend)

'view' => [
    'theme' => [
        'class'     => 'davidjeddy\zfg\ZfgAsset',
        'active'    => 'zfg',
        'pathMap'   => [
            '@app/views' => ['@webroot/themes/zfg/views',],
        ],
    ],
],