Is it possible to create a global widget which can be used by all my modules?
Is it possible to create a global widget which can be used by all my modules?
When you create a widget you can place it in any views of your application by properly refer to their paths. Just as you do when you use any of the pre-builded with Yii.
Thanks for the reply antonio
I placed my widgets in the main layout, and its working great there. It can be seen whatever module I enter, and I dont need to configure the layouts of every new module to make my global widget appear! ohyii!
All I need to do now is to apply a theme for this widget