Amos Basic Layout ----------------------- Templates, layouts and styles for amos basic installation Installation ------------ 1. The preferred way to install this extension is through [composer](http://getcomposer.org/download/). Either run ```bash composer require arter/amos-layout ``` or add ``` "arter/amos-layout": "~1.0" ``` to the require section of your `composer.json` file. 2. Add module to your main config in common: ```php [ 'layout' => [ 'class' => 'arter\amos\layout\Module', 'advancedLogoutActions' => true, // [OPTIONAL] if you want to display // two different logout buttons (one that redirects to login page and one that // redirects to main frontend page set in (common) params['platform']['frontendUrl']) ], ], ]; ``` 3. Add Bootstrap ```php ['layout'] ]; ``` Tools ----- Get base asset, required for all other assets, this mades easier to use a custom amosLayout instance ```php depends[] = \Yii::$app->layout->baseAssetClass; parent::init(); } } ``` PARAMS ----- search navbar menu ```php 'searchNavbar' => true ```