Error Pages

From FundaWiki

Jump to: navigation, search

In your index.php frontend template add the following before initializing the html parser

<?php

include "fundanemt/fundaClient/html.class";

$GLOBALS["errorpage"] = 12;
$GLOBALS["errortype"] = 404;

$parser = new html(1, "Fundanemt site");

?>
...

Change 12 with the id-number of the fundanemt page you want to redirect to in the event that a requested page could not be found.

Personal tools