lispa / amos-layout
Amos Basic Layout
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:component
Requires
- php: >=5.4.0
- bower-asset/sticky-sidebar: ^3.2.0
- npm-asset/bootstrap-italia: ^1.3.9
- open20/amos-core: ^1.23.0
- open20/amos-dashboard: ^1.9.0
- yiisoft/yii2-bootstrap4: *
- dev-master
- 1.12.1
- 1.12.0
- 1.11.2
- 1.11.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.4
- 1.1.3
- 1.1.1
- 1.0.35
- 1.0.31
- 1.0.30
- 1.0.29
- dev-releases/1.12.1
- dev-releases/1.12.0
- dev-releases/1.11.2
- dev-releases/1.11.0
- dev-releases/1.10.2
- dev-releases/1.10.1
- dev-releases/1.10.0
- dev-releases/1.9.0
- dev-releases/1.8.1
- dev-releases/1.8.0
- dev-releases/1.7.1
- dev-releases/1.7.0
- dev-releases/1.6.1
- dev-releases/1.6.0
- dev-releases/1.5.1
- dev-releases/1.5.0
- dev-releases/1.4.1
- dev-releases/1.4.0
- dev-releases/1.3.1
- dev-releases/1.3.0
- dev-releases/1.2.2
- dev-releases/1.2.1
- dev-releases/1.2.0
- dev-releases/1.1.4
- dev-releases/1.1.3
This package is auto-updated.
Last update: 2024-11-27 00:08:51 UTC
README
Templates, layouts and styles for amos basic installation
Installation
-
The preferred way to install this extension is through composer.
Either run
composer require open20/amos-layout
or add
"open20/amos-layout": "~1.0"
to the require section of your
composer.json
file. -
Add module to your main config in common:
<?php $config = [ 'modules' => [ 'layout' => [ 'class' => 'open20\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']) ], ], ];
-
Add Bootstrap
<?php $config = [ 'bootstrap' => ['layout'] ];
Tools
Get base asset, required for all other assets, this mades easier to use a custom amosLayout instance
<?php class MyCustomAppAsset extends AssetBundle { public $depends = []; public function init() { $this->depends[] = \Yii::$app->layout->baseAssetClass; parent::init(); } }
PARAMS
search navbar menu
'searchNavbar' => true