Setup: Difference between revisions
Line 1: | Line 1: | ||
=Setup= | =Setup Inside nuBuilder= | ||
==Setup | ==Setup== | ||
Click the Setup Button on the Setup Tab of the Home Form to edit the following... | Click the Setup Button on the Setup Tab of the Home Form to edit the following... | ||
===Timeout=== | ===Timeout=== | ||
Line 14: | Line 14: | ||
To generate these fonts you'll need to follow some [http://www.fpdf.org/en/tutorial/tuto7.htm FPDF instructions]. | To generate these fonts you'll need to follow some [http://www.fpdf.org/en/tutorial/tuto7.htm FPDF instructions]. | ||
==Email Settings== | |||
===Auth SMTP User Name=== | ===Auth SMTP User Name=== | ||
===Auth SMTP Password=== | ===Auth SMTP Password=== | ||
Line 21: | Line 21: | ||
===Auth SMTP From Name=== | ===Auth SMTP From Name=== | ||
===Auth SMTP Port=== | ===Auth SMTP Port=== | ||
==Header== | |||
The Header is placed in the HTML5 header of nuBuilder Forte and can be used for adding... | The Header is placed in the HTML5 header of nuBuilder Forte and can be used for adding... | ||
*Javascript libraries | *Javascript libraries |
Revision as of 23:01, 14 October 2017
Setup Inside nuBuilder
Setup
Click the Setup Button on the Setup Tab of 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 (each font on a new line).
For this to work you will need to generate a couple of files that need to be placed in the \fpdf\font.
To generate these fonts you'll need to follow some FPDF instructions.
Email Settings
Auth SMTP User Name
Auth SMTP Password
Auth SMTP Host
Auth SMTP From Address
Auth SMTP From Name
Auth SMTP Port
Header
The Header is placed in the HTML5 header of nuBuilder Forte and can be used for adding...
- Javascript libraries
- Javascript functions
- Style Sheets
- CSS Styles
eg.
<html>
- <header>
- <script> - Any function in this script tag will be available anytime within nuBuilder.
<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>
- </script>
- </header>
- <body></body>
</html>
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 = "notpassword"; //-- globeadmin password $nuConfigTitle = "nuBuilder 4"; $nuConfigIsDemo = false;
</source>