Setup: Difference between revisions
Line 18: | Line 18: | ||
===Auth SMTP Port=== | ===Auth SMTP Port=== | ||
===Header=== | ===Header=== | ||
The Header will be placed in the HTML5 header of nuBuilder Forte | The Header will be placed in the HTML5 header of nuBuilder Forte and can be used for. | ||
*Adding in Javascript libraries | *Adding in Javascript libraries | ||
*Adding Javascript functions | *Adding Javascript functions | ||
Line 26: | Line 26: | ||
The Header is placed in the middle of a '''<script>< | The Header is placed in the middle of a '''<script>''' tag, inside the '''<header>''' of the HTML page. | ||
This allows you to... | This allows you to... |
Revision as of 23:10, 9 August 2017
Setup
Setup Inside nuBuilder
Click the Setup Button on the Setup Tab the Home Form to edit the following...
Timeout
In minutes
Time Zone
Report Font
Extra fonts can be added here.
Each font name needs to be delimited by a carriage return.
Auth SMTP User Name
Auth SMTP Password
Auth SMTP Host
Auth SMTP From Address
Auth SMTP From Name
Auth SMTP Port
Header
The Header will be placed in the HTML5 header of nuBuilder Forte and can be used for.
- Adding in Javascript libraries
- Adding Javascript functions
- Add Style Sheets
- Adding CSS Styles
The Header is placed in the middle of a <script> tag, inside the <header> of the HTML page.
This allows you to...
- Custom functions.
- Customise the style sheet.
- Add Javascript libraries.
eg.
<source lang="javascript">
function nuHeaderTest(){
console.log('Functions placed here before a closing script tag are available anywhere in nuBuilder Forte');
}
</script> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<style>
.nuActionButton { //-- personalise your Action Buttons
background : orange;
}
</style>
<script>
</source>
Setup Outside nuBuilder
You will need to edit config.php and set the following variables..
- nuConfigDBHost
- nuConfigDBName
- nuConfigDBUser
- nuConfigDBPassword
- nuConfigDBGlobeadminUsername - globeadmin username
- nuConfigDBGlobeadminPassword - globeadmin password
- nuConfigTitle
- nuConfigIsDemo
eg.
<source lang="javascript">
$nuConfigDBHost = "127.0.0.1"; $nuConfigDBName = "nubuilder4"; $nuConfigDBUser = "root"; $nuConfigDBPassword = ""; $nuConfigDBGlobeadminUsername = "globeadmin"; //-- globeadmin username $nuConfigDBGlobeadminPassword = "nu"; //-- globeadmin password $nuConfigTitle = "nuBuilder 4"; $nuConfigIsDemo = false;
</source>