Skip to content
pasquale edited this page Feb 24, 2017 · 2 revisions

Welcome to the yii2-metronic wiki! For change theme version:

in

'components' => [ 'metronic'=>[ 'class'=>'dlds\metronic\Metronic', 'resources'=>'[path to my web]/web/metronic/assets/theme/assets', 'style'=>\dlds\metronic\Metronic::STYLE_MATERIAL, 'theme'=>\dlds\metronic\Metronic::THEME_LIGHT, 'layoutOption'=>\dlds\metronic\Metronic::LAYOUT_FLUID, 'headerOption'=>\dlds\metronic\Metronic::HEADER_FIXED, 'sidebarPosition'=>\dlds\metronic\Metronic::SIDEBAR_POSITION_LEFT, 'sidebarOption'=>\dlds\metronic\Metronic::SIDEBAR_MENU_ACCORDION, 'footerOption'=>\dlds\metronic\Metronic::FOOTER_FIXED,

`],`

]

add 'version' element : 'version'=>\dlds\metronic\Metronic::VERSION_X, // X = 1 to 7

Clone this wiki locally