_charleswesley wrote:
<script src="/CMSScripts/Custom/FOO/BAR.js"></script>
Any suggestions?
You're best bet is to use the syntax below. Kentico does URL processing on all directories unless excluded and you'd have to exclude the CMSScripts directory from processing which isn't hard but the code below is a better solution.
<script src="/CMSPages/GetResource.ashx?scriptfile=/CMSScripts/Custom/FOO/BAR.js" type="text/javascript"></script>
This will do 2 things:
1) give you a standard place to call resources from (you can get stylesheets here as well)
2) allow you to use the build-in minimization functions.