Difference between revisions of "Customising bxp - Custom HTML"
From All n One's bxp software Wixi
Philip Lacey (talk | contribs) |
Philip Lacey (talk | contribs) |
||
| Line 16: | Line 16: | ||
''Main Menu > System Access Management > System Management > System Settings > System Headers and Footers'' | ''Main Menu > System Access Management > System Management > System Settings > System Headers and Footers'' | ||
| + | * HTML Head | ||
* Page Header | * Page Header | ||
* Page Footer | * Page Footer | ||
| − | You can then control where | + | HTML Head allows for extra lines to be added inside the HTML <head> tags. This is for extra libraries or custom CSS sheets. |
| + | |||
| + | |||
| + | You can then control where the HTML page blocks appear. | ||
Both blocks will appear inside the <body> tags of the page. | 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]] | The order in which things are drawn depends on the order of the [[Interface_Bars]] | ||
| Line 31: | Line 36: | ||
| − | The system default set includes them just after the name and login box and as the last item on the page, e.g. | + | 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. |
| − | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 51: | Line 55: | ||
It is possible to include Google Analytics in your use of bxp. For security reasons, it is not recommended, but it is possible. | 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 HTML Head, you add the .js library | ||
Revision as of 02:10, 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
- HTML Head
- Page Header
- Page Footer
HTML Head allows for extra lines to be added inside the HTML <head> tags. This is for extra libraries or custom CSS sheets.
You can then control where the HTML page 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 HTML Head, you add the .js library
In the footer, you add in the snippet of code supplied by Google https://developers.google.com/analytics/devguides/collection/analyticsjs/