This is an old revision of the document!
Login Pages - Settings
Introduction
To fine tune the behavior of a Login Page you need to edit its settings.
Rather than going through each item on the Settings tab, most of which are self explanatory, we will cover those more difficult items and places where you need a heads-up
Theme
The default theme is called Default and it will redirect to the Bootstrap 5 page.
There is a special theme called Custom which allows you to provide your own URLs where the redirection should go.
There are also a couple of pre defined themes. Selecting one of those as a theme will redirect to the older Webix style login pages.
-
-
The CakePHP Controller will then determine:
Slideshow
When you added multiple photos you can use the slideshow feature.
The duration per slide can be fine tuned by editing the photo's settings.
You can also enforce the watching of the slideshow which will delay the pop-up of the login screen until after the specified time completed.
Auto-Add Suffix
This feature is handy on pages where a Permanent User register by typically providing their email address and password.
When the Permanent User is created (Provided the settings on the Realm is such) a suffix will be added.
Sending Email
T&C URL
For T&C you can specify a
URL
Remember if this
URL is located on another server, you have to add an entry to the Walled Garden of the Captive Portal for the user to reach this
URL.
Show Usage
Support for Arabic
Support for Arabic is now also included.
There are however a small tweak you should do for it to work in an optimal way.
Edit the /var/www/html/login/bootstrap5/index.html page.
Remove the default Bootstrap 5 Stylesheet.
<!--Comment the line below out if you are planning to implement languages including Arabic-->
<!--<link href="css/bootstrap.min.css" rel="stylesheet">-->
if(i18n == 'ar_AR'){
$('#htmlMain').attr('dir','rtl');
$('#htmlMain').attr('lang','ar');
//RTL Stylesheet
$('<link/>', {
rel: 'stylesheet',
type: 'text/css',
href: 'css/bootstrap.rtl.min.css'
}).appendTo('head');
}else{
//Normal Stylesheet (if you did comment out the normal Bootstrap stylesheet - activate this section for non-arabic languages
$('<link/>', {
rel: 'stylesheet',
type: 'text/css',
href: 'css/bootstrap.min.css'
}).appendTo('head');
}