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

Popular posts from this blog

python - argument must be rect style object - Pygame -

webrtc - Which ICE candidate am I using and why? -

c# - Better 64-bit byte array hash -