I am trying to hide the ancestor class, but in the sitetree the pagetype 'Productgroup' is still available. Anyone has an idea why?
class ProductGroupRandom extends ProductGroup {
static $hide_ancestor = ProductGroup;
}
class ProductGroupRandom_Controller extends ProductGroup_Controller {
public function Testfuntion($showAll = false) {
$hallo="test";
return $hallo;
}
}