HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

JQuery integration?

Login / Search

 [ Join | More ]
 Add topic 
#64957 (In Topic #13974)


i know i prepare myself to be the master of stupid questions, but here is yet another one: How do i include JQuery for my website? Adding it to to the header template is sure easy enough, but would i have to do that for every theme or is there a sitewide solution?
Back to the top

Community saint

To the best of my understanding you will probably need to add the JQuery library call to the HEADER.tpl of every theme.

I uploaded the jquery.js to the root of my site so that the same link can be called in every header template (copy/paste). It also makes it easy to update a single instance of the file when JQuery rolls out an update.

Be prepared for ocPortal to complain about a 'non-standard' file being present in the root when you do a file integrity check. But if you know you put it there it is easy to ignore!


Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: