Typically you will use pages you design with Vivaldi's Designer. But in some cases you may have your own web page you want to display within Vivalidi. You can create your page with any other design interface in any language, and then make that page a menu target using the Manage Menus function.
In some cases you may want to create your own PHP page, but still use Vivalidi's security configuration to check whether the logged in user has permissions to use that page. Here are the steps to use Vivaldi's security configuration with your page:
global $noauth;
$noauth = 0;
global $subdir;
$subdir = 1;
include '../library.php';
include ('../authenticator.php');
initpage();
$formpermisions=FormSecurityCheck('newaccount');
if (isset($formpermisions['view'])==false or $formpermisions['view']==0) {
echo 'Unable to load form. You may need to contact your administrator to get access.';
fLogEvent("Form access denied 'newaccount'", $_SESSION['username'], false, "auth");
exit();
}
Note: If needed, the page /ogs/newaccount.php has a working example of how to implement custom security in your own pages.