Public pages


Public pages are available since version 1.9.8.


Public pages are an easy way to build pages based on LL::NG portal skin. You can for example create a landing page or customize error pages with it.

A public page is just a template created in portal/skins/yourskin/public/ directory, for example test.tpl. This page can then be displayed with this URL:

Page creation

Create the public/ directory :

mkdir /var/lib/lemonldap-ng/portal/skins/bootstrap/public

Create the new page:

vi /var/lib/lemonldap-ng/portal/skins/bootstrap/public/test.tpl
<TMPL_INCLUDE NAME="../header.tpl">

<div class="container">
  <div class="alert alert-success">

<TMPL_INCLUDE NAME="../footer.tpl">

Display the page: