I’m learning Yii just recently and played around the Yii test site using ‘yiic webapp abc’.
I noticed some modules like Home and About doesn’t have jQuery, but some page like Contact will load jQuery from assets i.e. <script type=“text/javascript” src="/eos/assets/22cc4949/jquery.js">. I searched the codes and can’t see which file is loading this script part.
I want to load jQuery on EVERY page, so I know I should include it in /protected/view/layout/main.php
but then it will LOAD 2 jQuery. How to come about it?