Within my yii application, I have implemented Tabs and am loading content via ajax using renderPartial()
. To prevent redundant script loading, I have set processOutput
to false
. As a result, I aim to manually load all necessary scripts once on the index page.
Moreover, I have incorporated several extensions on the page, necessitating the manual loading of their respective js/css files. This raises the following inquiries:
- How can I identify which extensions will be utilized on the page and load their associated js/css files?
- Another issue arises when dealing with extensions like bootstrap, as they contain an assets folder comprising numerous javascript files. How can I import all such files effectively?
I am also interested in learning about the optimal methods for loading identical content (GridView
) via Ajax, without encountering duplicate requests when utilizing Filters/Delete buttons.