Privacy notification Matthew Bellew  2014-05-29 12:33
Status: Closed
 
1) the easiest way to add something to every page is to use a customization feature we added for analytics. The first link on the admin console is "analytics settings". On that page you'll find a big text box that let's you put pretty much whatever you want into the <head> of every page. Since you can put script here you can also add HTML to the page if that is required.

2) If you want to go route of editing the template, the file you're looking for is "api/src/org/labkey/api/view/CommonTemplate.jsp".

I would really try to exhaust the first option, before going down the second path. I think you'll find it easier if you can simply use offical builds, rather than having to build your own.

If you come up with a solution that can be configured by via an admin page that is generally useful, you can consider submitting a patch for the main product as well.