I am trying to deal with this admin. I use the advanced template. Interested in the question. How to specify route on backend?
|
1 answer
What do you have under specify route? in the url route method?
if you mean urlmanager and paths, then when you connect a module, you write under what name it will be available. if you connect it in the backend config for example baseUrl there will be = backend, and the module is installed with the name admin /
By the name of the module, I mean an alias which is indicated:
return [ ... 'aliases' => [ '@mdm/admin' => 'path/to/your/extracted', // for example: '@mdm/admin' => '@app/extensions/mdm/yii2-admin-2.0.0', ... ] |