You can change the default skin in Manager: <code>General Parameters</code>><code>Portal</code>><code>Customization</code>><code>Default skin</code>.
Go in <code>General Parameters</code>><code>Portal</code>><code>Customization</code>><code>Skin background</code>. You can define a background by selecting one of the available image. Use <code>None</code> to use the default skin background configuration.
You might want to display different skin depending on the <abbrtitle="Uniform Resource Locator">URL</abbr> that was called before being redirected to the portal, or the <abbrtitle="Internet Protocol">IP</abbr> address of the user.
To achieve this, you can create a rule in the Manager: select <code>General Parameters</code>><code>Portal</code>><code>Customization</code>><code>Skin display rules</code> on click on “New key”. Then fill the two fields;
<liclass="level1"><divclass="li"><strong>Rule</strong>: a Perl expression (you can use %ENV hash to get environment variables, or $_url to get <abbrtitle="Uniform Resource Locator">URL</abbr> called before redirection, or $ipAddr to use user <abbrtitle="Internet Protocol">IP</abbr> address). If the rule evaluation is true, the corresponding skin is applied.</div>
A skin will often refer to the <code>common</code> skin, which is not a real skin, but shared skin objects (like scripts, images and <abbrtitle="Cascading Style Sheets">CSS</abbr>).
Then create symbolic links on template files, as you might not want to rewrite all <abbrtitle="HyperText Markup Language">HTML</abbr> code (else, do as you want).
Then you <em>only</em> have to write <code>myskin/css/styles.css</code> and add your media to <code>myskin/images</code>. Put all custom <abbrtitle="HyperText Markup Language">HTML</abbr> code in the custom template files.
Messages are defined in source code. If they really do not please you, override them! You just need to know the ID of the message (look at Portal/Simple.pm) and then add to <code>lemonldap-ng.ini</code>:
Template parameters are defined in source code. If you need to add a template parameter for your customization, then add to <code>lemonldap-ng.ini</code>:
<liclass="level1"><divclass="li"><strong>Check last logins</strong>: displays a checkbox on login form, allowing user to check his login history right after opening session</div>
<liclass="level1"><divclass="li"><strong>Reset password</strong>: display a link to <ahref="../../documentation/2.0/resetpassword.html"class="wikilink1"title="documentation:2.0:resetpassword">reset your password page</a> (for password based authentication backends)</div>
<liclass="level1"><divclass="li"><strong>Register</strong>: display a link to <ahref="../../documentation/2.0/register.html"class="wikilink1"title="documentation:2.0:register">register page</a> (for password based authentication backends)</div>
<liclass="level1"><divclass="li"><strong>Require old password</strong>: used only in the password changing module of the menu, will check the old password before updating it</div>
<liclass="level1"><divclass="li"><strong>Hide old password</strong>: used only if the password need to be reset by the user (LDAP password policy), will hide the old password input</div>
<liclass="level1"><divclass="li"><strong>Send mail on password change</strong>: send a mail if the password is changed from the Menu, or from forced password reset (LDAP password policy)</div>
<liclass="level1"><divclass="li"><strong>User attribute</strong>: which session attribute will be used to display <code>Connected as</code> in the menu</div>
<liclass="level1"><divclass="li"><strong>Ping interval</strong>: Number of milliseconds between each ping (Ajax request) on the portal menu. Set to 0 to dismiss checks.</div>