I can't for the life of me add a new page type. I have followed the tutorial, searched the forum and I am still unable to have the page type show up in the behaviour tab.
I first create the php file, I name it Test.php.
<?php
class Test extends Page {
static $db = array(
);
static $has_one = array(
);
}
class Test_Controller extends Page_Controller {
}
?>
and then I create Test.ss which is a copy of Page.ss. I flush silverstripe with ?flush=all, refresh the admin page, create a page, click the behaviour tab and to my disappointment I only see page, error page, redirect page and virtual page under page type.
Any assistance with this would be much appreciated.