How to embed jquery-ui.css from assets folder / yii for own purpose

Hey guys,

I’ve got some parts of a website, which use mainly “manual” code (not that much yii stuff) … but the main part of the website is based on yii. Now I got the problem, that I’m using some widgets in the yii parts of the website which need / embed the jquery-ui.css … but I also need this css file in the “manual” part and at the moment the jquery-ui.css is loaded two times … so I wonder how I can embed the css file from the Yii framework/assets folder?

Thanks in advance,


Anyon got an idea on this? … how to handle the .js files I figured out now, but the css files seem to be handled a bit different

Did you try scriptMap? (use value false for files that should not be loaded).