Design and CSS styles
Version 7.x > Design and CSS styles > jQuery Load View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/27/2012 2:13:36 PM
   
jQuery Load
Probably a simple answer but I'll ask anyway, is jQuery automatically included with a portal master page template or do I need to add it manually to the page? For whatever reason, I thougth it was added autmatically.

Also I'm guessing I will need to move any .css files out of the App_Themes directory if I don't want them to be automatically added to the HEAD of the page, correct?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 9/28/2012 10:04:00 AM
   
RE:jQuery Load
Hello,

No, jQuery isn't added automatically. Here is the default code generated in the HeaderTags:

<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<link href="/7_0_site1/CMSPages/GetResource.ashx?stylesheetname=CorporateSite" type="text/css" rel="stylesheet"/>

<link href="/7_0_site1/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link href="/7_0_site1/favicon.ico" type="image/x-icon" rel="icon"/>


Including CSS styles from the App_Themes folder is default .NET behavior and is not Kentico specific:

forum link

Best regards,
Boris Pocatko