e-bike/assets

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

E-Bike Assets

dev-master 2021-06-07 07:40 UTC

README

Installation

  1. The preferred way to install this extension is through composer.

Either run

composer require e-bike/assets

or add this row

"e-bike/assets": "dev-master"

to the require section of your composer.json file.

  1. Add module to your modules config in backend:

    `php

    'modules' => [

     'ebikeassets' => [
         'class' => 'ebike\assets\EbikeAssets',
     ],
    

    ],

    It is possible to specify for audioguide the audio files types setting up the $audioGuidaFilesTypes as a string like this:

    $audioGuidaFilesTypes = 'mp3, mp4, m4a, m4p'; `

  2. Apply migrations

    a. assets migrations `bash php yii migrate/up --migrationPath=@vendor/e-bike/assets/src/migrations `

    or add this row to your migrations config in console:

    `php return [

     .
     .
     .
     '@vendor/e-bike/assets/src/migrations',
     .
     .
     .
    

    ]; `

Configuration

/**
 * @var string $defaultView Set the default view for module
 */
public $defaultView = 'list';