Hello! I'm new here and have a question:
i want to force pages to stay at the bottom of the pagetree:
I edit the ProcessPageListRenderJSON.php and it works.
class ProcessPageListRenderJSON extends ProcessPageListRender {
protected $systemIDs = array();
public function __construct(Page $page, PageArray $children) {
parent::__construct($page, $children);
$this->systemIDs = array(
$this->config->http404PageID,
$this->config->adminRootPageID,
$this->config->trashPageID,
$this->config->loginPageID,
//system login ####################################################
1088,
1036,
###################################################################
);
}
Is there a way to do this without hardcode it in the ProcessPageListRenderJSON.php?