Answer the question
In order to leave comments, you need to log in
How to beautifully specify the path from the view of one module to the view of another module in Yii2?
There are 2 modules, entries and comments.
In the view of the recording module, you need to display the form for adding a comment (that is, the view from the comment module)
Is it possible to somehow write beautifully, something like this?
$this->render('//../../../comments/views/default/_form',['article'=>$article])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question