Using externally/CDN-hosted libraries
N2CMS uses several open-source libraries to provide various facilities to the admin UI:
- Angular JS
- Twitter Bootstrap
- JQuery
- JQuery UI
- CKEditor
- Fancybox
- Font-Awesome
You can change the location from which libraries are loaded by customizing the <resources> section.
If you are using a ConfigSource for the <host> section, you need to move the <resources> element to the file specified by the ConfigSource (i.e. n2_host.config)
<configuration> <n2> <host> <resources angularJsRoot="~/Scripts/" angularUiJsPath="~/Content/angular-ui.js" angularUiCssPath="~/Content/angular-ui.css" angularStrapJsPath="~/Scripts/angular-strap.js" bootstrapCssPath="~/Content/bootstrap.min.css" bootstrapJsPath="~/Scripts/bootstrap.js" ckEditorJsPath="~/Scripts/ckeditor/ckeditor.js" fancyboxJsPath="~/Scripts/jquery.fancybox.min.css" fancyboxCssPath="~/Content/jquery.fancybox.min.css" iconsCssPath="~/Content/font-awesome.min.css" jQueryJsPath="~/Scripts/jquery-1.9.0.min.js" jQueryUiPath="~/Scripts/jquery-ui.min.js" /> </host> </n2> </configuration>
, multiple selections available,
Related content
Deploying N2 to a web server
Deploying N2 to a web server
More like this
Integrate N2 into an Existing MVC Site
Integrate N2 into an Existing MVC Site
More like this
Getting Started using N2CMS
Getting Started using N2CMS
More like this
Localization using Translations
Localization using Translations
More like this
"Dinamico" Razor Content Registration
"Dinamico" Razor Content Registration
More like this
Getting Support
Getting Support
More like this