JavaScript

Adding JavaScript code to your site is simple if you are using the CLF Advanced theme.

Sample code: <script type="text/javascript" src="http://html5.kaltura.org/js"></script>

Steps

Follow these steps to add your JavaScript code:

  1. Login to your site
  2. Go to Dashboard -> Appearance -> Theme Options
  3. Select the Display Options tab and scroll down to Footer Scripts
  4. Paste the link to your JavaScript code or simply paste all your JavaScript code directly into the text field
  5. Test to see if the JavaScript does what it is supposed to

Troubleshooting

Open up Firebug and see if there are any errors on the page.

source: http://wiki.ubc.ca/Documentation:UBC_Content_Management_System/How_to/How_do_I_add_JavaScript_files_on_each_page_of_my_site?
Did you find this content useful?
35 Yes

One response to “JavaScript”

  1. Yvonne Chan

    Please fix the warning message, “This url does not meet the site security guidelines. ” Thanks!

Leave a Reply

You must be logged in to post a comment.