yii2 - How to customize vendor view files? -
in yii2 how customize vendor view files without modifying original view files?
i'm using dektrium yii2-user , make few changes login page.
you can assign view path dektrium yii2-user in way (assume @app app alias) :
'components' => [ ....... 'view' => [ 'theme' => [ 'pathmap' => [ '@dektrium/user/views' => '@app/views/your_dir_views' // mapping override views dektrium views ], ], ..... ],
Comments
Post a Comment