HTML Extras

Jan 23, 2018

SOBS is a web based / hosted application, however there are times when schools want the option of adding some HTML code into various locations within the application.  This is a localised solution for customising the application to a schools particular needs.

We don’t have lots of scope here, so don’t get carried away with customising everything, however we have listed some common options that you may like to utilise in the following document.

Google Analytics

This code is included at the bottom of each page.  You can configure it for all applications or you can add multiple records are capture statistics from each application independently.

The exact code will be supplied by Google, however it may look something like this:

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('send', 'pageview');
  ga('create', 'UA-XXXXXX-NNNN', 'your-domain');
</script>

User CSS

[We need to update this for the 2018 design update]

Additional Menu Entries

The same instructions apply to each menu area.  Here we allow you to add extra menu entries, these could access local documents or other local resources.

The structure of this entry will look similar to the following:

<a class="nav-link" href="some-url">Menu text</a>