Project

General

Profile

Actions

Bug #15759

closed

Pagetype spacer is accessible via FE

Added by Marc Bastian Heinrichs about 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
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)

Actions #1

Updated by Marc Bastian Heinrichs about 18 years ago

Sorry, this is not the solution, cause this hides also the spacer-pages in the menu.

Actions #2

Updated by Marc Bastian Heinrichs about 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 #3

Updated by Wolfgang Klinger about 18 years ago

fixed in CVS

Actions

Also available in: Atom PDF