Knowledge base   /   Customize

How to add a new page?

Posted by Andres M. on 27 August 2020 09:56 am

Create a new page in folder /Sources, like example.php with this content:

<?php
$template->display('example.tpl');

If you want that this page can be visited by registered users only, then you can use this content:

<?php
if(!$user->isOnline()){
redirect('?view=login');
}
$template->display('example.tpl');

Create a new template file in /templates/ModernBlue like you call in example.php, example.tpl

In your template file you can use any HTML editor.

Search

Most popular articles

Newest articles