Ok, so I was able to create a new page type with this instructions posted by Willr:
----------------------------
You can have widgets on any page type by adding a WidgetArea to it. Open the page type code and add
static $has_one = array(
"MyWidgets" => "WidgetArea"
);
then in the getCMSFields you will need to add the widget drag and drop system
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("MyWidgets"));
return $fields;
}
Then last but not least you need to open up your template file and add the code to render the widget area. In this example you would need to put $MyWidgets in the template some where.
Remember to db/build and then flush the page.
----------
I created a new HomePage.php, flushed the database and it loaded on the CMS... and it has the widget tab!
:) !
it took me a while to figure this out...
My problem now is that the pages I create with that page type print out the following:
Error
The website server has not been able to respond to your request.
I've been tryint to put the "$MyWidgets" to call the function on the page.ss of my template, also creating a new "HomePage.ss" but no luck...
Please Help
thx