Answer the question
In order to leave comments, you need to log in
How to connect column1 or column2 in Yii module?
The situation is this. Created the sadmin module . In each controller of the module, I registered
I.e. the template is located in the folder with the module
And now I don't know how to pick up the subtemplate - colum1 or column2 in sadmin/views/layouts/ ? public $layout = 'sadmin.views.layouts.main';
Answer the question
In order to leave comments, you need to log in
According to the documentation www.yiiframework.com/doc/api/1.1/CController#resol... The path to the template is set as follows:
Path relative to the views folder of the module
Path relative to the application's views folder
In other cases, aliases or relative paths are used.
ps edited so as not to be misleading with the wrong answer.
I'm sorry, I found the reason, there was a typo in ProductsManagerFactory, but it should have been ProductManagerFactory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question