Bug #15855

TCEFORM.tt_content.CType.removeItems not applied to db_new_content_el.php

Added by Oliver Hader over 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-03-18
Due date:
% Done:

0%

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

Description

The following value defined in TSconfig of any page is not applied to db_new_content_el.php:
TCEFORM.tt_content.CType.removeItems = html,div,text

If I select "New Content Element" at Web>Page the wizard shows icons of removed items. On selecting a denied item the next page tells me '[INVALID VALUE ("html") ]' at the pull down menu of "Type".

In typo3/sysext/cms/layout/db_new_content_el.php is a function removeInvalidElements(&$wizardItems) which should additionally check the TSconfig of the current page and - if necessary - remove the denied CTypes.

If I'm wrong, please let me know.

(issue imported from #M2918)


Files

db_new_content_el_original.png (29.2 KB) db_new_content_el_original.png Administrator Admin, 2006-03-19 15:37
db_new_content_el_modified.png (11.1 KB) db_new_content_el_modified.png Administrator Admin, 2006-03-19 15:37
db_new_content_el.php.diff (381 Bytes) db_new_content_el.php.diff Administrator Admin, 2006-03-19 15:37
db_new_content_el_2.php.diff (1.37 KB) db_new_content_el_2.php.diff Administrator Admin, 2006-03-20 16:59

Also available in: Atom PDF