Project

General

Profile

Actions

Bug #16977

closed

"New Record" wizard shows always "page after" even if new page records are disabled

Added by Martin Kutschker almost 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-02-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

"page after" doesn't honour the "allowedNewTables" option

Eg

mod.web_list {
allowedNewTables = tt_news
}

This will suppress "page (inside)" but not "page (after)"

(issue imported from #M4971)

Actions #1

Updated by Oliver Hader almost 18 years ago

Hm, the behaviour is in typo3/db_new.php
"Regular" pages use $this->pageInfo to check if table "pages" is allowed
"Page (after)" uses $this->pidInfo to check this...

So, pageInfo is the current page, and for that one the TSconfig is set. But pidInfo uses the parent page level where the TSconfig was not set.

Actions #2

Updated by Martin Kutschker almost 18 years ago

Ah, but then it is correct. It doesn'z allow the page record to be created within itself. I've tested ot that the setting of the parent is correctly honoured by $this->pidInfo.

Actions

Also available in: Atom PDF