Difference between revisions of "Customising bxp - Custom HTML"

From All n One's bxp software Wixi

Jump to: navigation, search
(Created page with "= Overview = It is possible to add custom HTML code to every page of bxp. For various reasons this can be useful. * Adding dynamic custom menu systems * Adding custom Java...")
 
Line 53: Line 53:
  
  
In the footer, you add in the snippet of code supplied by Google  https://developers.google.com/analytics/devguides/collection/gajs/?hl=en
+
In the footer, you add in the snippet of code supplied by Google  https://developers.google.com/analytics/devguides/collection/analyticsjs/
  
  

Revision as of 01:54, 17 January 2016

1 Overview

It is possible to add custom HTML code to every page of bxp. For various reasons this can be useful.

  • Adding dynamic custom menu systems
  • Adding custom JavaScript system wide


2 Addition

The actual modifications are done in System Access Management.


Main Menu > System Access Management > System Management > System Settings > System Headers and Footers

  • Page Header
  • Page Footer


You can then control where those blocks appear.


Both blocks will appear inside the <body> tags of the page.

The order in which things are drawn depends on the order of the Interface_Bars


Bars 25 and 26 are the Header and Footer respectively. If you use custom Interface Bar set ups remember to add 25 and 26 into them.


The system default set includes them just after the name and login box and as the last item on the page, e.g.

The defaults for the bxp Release 9 interface are as follows.

Login 25,4,5,26
Main Menu 17,22,25,2,7,37,4,18,13,19,5,26
Section Menu 22,25,4,13,19,5,26
Page 22,25,4,13,19,5,26


3 Google Analytics

It is possible to include Google Analytics in your use of bxp. For security reasons, it is not recommended, but it is possible.


In the footer, you add in the snippet of code supplied by Google https://developers.google.com/analytics/devguides/collection/analyticsjs/