Login: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
There are a number of ways to login to nuBuilder Forte... | There are a number of ways to login to nuBuilder Forte... | ||
===Manual Login=== | |||
#Go to the web directory nuBuilder Forte has been installed. | #Go to the web directory nuBuilder Forte has been installed. | ||
Line 8: | Line 8: | ||
#Hit Enter | #Hit Enter | ||
===Auto Login=== | |||
Line 18: | Line 18: | ||
*h - Home Page ID | *h - Home Page ID | ||
==== Parameter passing in GET url ==== | |||
By passing certain parameters to '''index.php''' you will be able to... | By passing certain parameters to '''index.php''' you will be able to... | ||
*Login automatically to the User's Home Page. - '''index.php?&u=1&p=1''' | *Login automatically to the User's Home Page. - '''index.php?&u=1&p=1''' | ||
Line 26: | Line 26: | ||
*Ask the user their password before logging into a certain Form and Record. - '''index.php?&u=1&f=nublank&r=-1''' | *Ask the user their password before logging into a certain Form and Record. - '''index.php?&u=1&f=nublank&r=-1''' | ||
*Ask the user their password before logging into a certain Form and Record with a link to the User's Home Page. - '''index.php?&u=1&f=nublank&r=-1&h=nuuserhome''' | *Ask the user their password before logging into a certain Form and Record with a link to the User's Home Page. - '''index.php?&u=1&f=nublank&r=-1&h=nuuserhome''' | ||
== Customising Login HTML == | |||
The '''nuconfig.php''' file has a commented out variable '''$nuWelcomeBodyInnerHTML''' which can be customised and used as the login page. | |||
HTML login form code '''$welcome''' in '''index.php''' escapes the above variable and is used in the JS '''function nuLogin(nuconfigNuWelcomeBodyInnerHTML)''' defined in '''nucommon.js''' file where on absence, a default in this function is used. |
Revision as of 07:33, 1 February 2021
There are a number of ways to login to nuBuilder Forte...
Manual Login
- Go to the web directory nuBuilder Forte has been installed.
- Type in Username
- Type in Password
- Hit Enter
Auto Login
Available Parameters
- u - Username
- p - Password
- f - Form ID
- r - Record ID
- h - Home Page ID
Parameter passing in GET url
By passing certain parameters to index.php you will be able to...
- Login automatically to the User's Home Page. - index.php?&u=1&p=1
- Login automatically to a certain Form and Record. - index.php?&u=1&p=1&f=nublank&r=-1
- Login automatically to a certain Form and Record with a link to the User's Home Page. - index.php?&u=1&p=1&f=nublank&r=-1&h=nuuserhome
- Ask the user their password before logging into the User's Home Page. - index.php?&u=1
- Ask the user their password before logging into a certain Form and Record. - index.php?&u=1&f=nublank&r=-1
- Ask the user their password before logging into a certain Form and Record with a link to the User's Home Page. - index.php?&u=1&f=nublank&r=-1&h=nuuserhome
Customising Login HTML
The nuconfig.php file has a commented out variable $nuWelcomeBodyInnerHTML which can be customised and used as the login page.
HTML login form code $welcome in index.php escapes the above variable and is used in the JS function nuLogin(nuconfigNuWelcomeBodyInnerHTML) defined in nucommon.js file where on absence, a default in this function is used.