Hi!
I follow the instruction in the tuorial (number 1) to create a new page type.
Thwy say to create a new file in /tutorial/code NewPageType.ss whith the following code:
<?php
/**
* Defines the NewPageType page type
*/
class NewPageType extends Page {
static $db = array(
);
static $has_one = array(
);
}
class NewPageType_Controller extends Page_Controller {
}
?>
Then is necessary to build the db so I digit:
http://mysite/db/build
Nothig change: I'm unable to select the new page type, it isn't create. Why?