Project

General

Profile

Actions

Bug #19382

closed

New Element Wizard has no option for hiding Elements via pageTS

Added by Steffen Kamper about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-09-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This seems a forgotten implementation, i did this with attached patch.

Use following setting:
mod.xMOD_db_new_content_el.hideItems = x,y,z

Following wizards are implemented by default:

common, common_regularText, common_textImage, common_imagesOnly, common_bulletList, common_table, special, special_filelinks, special_multimedia, special_sitemap, special_plainHTML, forms, forms_mail, forms_search, forms_login, plugins, plugins_general
(issue imported from #M9439)


Files

9439_new_v3.diff (21.8 KB) 9439_new_v3.diff Administrator Admin, 2008-11-30 21:19
new_content_element_wizard.png (19 KB) new_content_element_wizard.png Administrator Admin, 2008-11-30 21:19
T3X_sk_test_typo3-0_0_0-z-200811302034.t3x (15.8 KB) T3X_sk_test_typo3-0_0_0-z-200811302034.t3x Administrator Admin, 2008-11-30 21:19
9439_v5.diff (25 KB) 9439_v5.diff Administrator Admin, 2009-02-05 18:15
newCEwizard.doc.txt (2.09 KB) newCEwizard.doc.txt Administrator Admin, 2009-02-05 18:16

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #19844: Wizard for new content elements doesn't respect TCAdefaultsClosed2009-01-17

Actions
Has duplicate TYPO3 Core - Feature #15610: add content-element headline to "New content element" wizard by defaultClosedErnesto Baschny2006-02-11

Actions
Has duplicate TYPO3 Core - Feature #15150: Get list of content elements for "new content" wizard from TCAClosedErnesto Baschny2005-10-24

Actions
Actions #1

Updated by Steffen Kamper about 16 years ago

I went further. If you want only allow specific items it may be worse to exclude all others.
So i introduced another option "allowedItems" that allows syntax like
mod.xMOD_db_new_content_el.allowedItems = common_bulletList

which overwrites the hideItems and now only a bullet list is available as new element.

Modifications are in v2-patch

Actions #2

Updated by Steffen Kamper almost 16 years ago

Here is the updated patch.
I also attached a screenshot and a testextension which
  • adds a plugin (same as before)
  • adds an element to "special elements"
  • adds an element to a new section
  • implements the hook, now only with commented debugs. There you can manipulate the wizardItems depending on the column.
Actions #3

Updated by Steffen Kamper almost 16 years ago

committed to trunk, rev 4954
Documentation added to
http://wiki.typo3.org/Pending_Documentation#doc_core_tsconfig

Actions

Also available in: Atom PDF