panix/mod-banner

Banner

Installs: 121

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:pixelion-module

1.0.0 2021-08-19 13:50 UTC

This package is auto-updated.

Last update: 2024-03-28 12:48:18 UTC


README

Module for PIXELION CMS

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer require --prefer-dist panix/mod-banner "*"

or add

"panix/mod-banner": "*"

to the require section of your composer.json file.

Add to web config.

'modules' => [
    'banner' => [
        'class' => 'panix\mod\banner\Module'
    ],
]

Module props

Props Default
$pcMaxSize 1920x860
$mobileMaxSize 500x300
$pcMinSize 1920x860
$mobileMinSize 500x300

Migrate

php yii migrate --migrationPath=vendor/panix/mod-banner/migrations