Actions
Bug #15759
closedPagetype spacer is accessible via FE
Start date:
2006-03-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In my optinion the pagetype spacer is only to build spaces in menues, so it should be handled how it is done for a sys folder.
solution: set 200 to 199 in class.tslib_fe.php in [line 1207 in beta3]
function setSysPageWhereClause() {
$this->sys_page->where_hid_del.=' AND doktype<200';
$this->sys_page->where_groupAccess = $this->getPagesGroupClause();
}
(issue imported from #M2753)
Updated by Marc Bastian Heinrichs over 18 years ago
Sorry, this is not the solution, cause this hides also the spacer-pages in the menu.
Updated by Marc Bastian Heinrichs over 18 years ago
I now added in class.tslib_fe.php in function fetch_the_id()
if ($this->page['doktype'] == 199) {
$this->pageNotFoundAndExit('ID was not an accessible page');
}
I don't know, if it's the cleanest solution, but it works for me.
Actions