How to add External CSS and Javascript files?

Topics: General
Sep 7, 2011 at 11:17 PM

In C1, I created a page and I went to the source view.  At the <head> tag, I added the external <script> and <link> tags for the javascript and CSS.  Is this the proper way of doing this?

Where can I place this so that every pages get these external javascripts and CSS, like in a master page?

Thank you!

Coordinator
Sep 8, 2011 at 8:00 AM

Hello,

The page has layout template. Layout templates are shared across pages and define the overall layout of a page, so you can add JavaScript tags and CSS links on the page template. (Layout -> Page Templates -> edit template )

For more information read this article http://docs.composite.net/C1/HTML/Guide-to-Templates-in-C1.aspx/Editing-Templates

Sep 8, 2011 at 5:43 PM

Thank you Inna!  Perfectly what I needed :)