Bug #19382
closedNew Element Wizard has no option for hiding Elements via pageTS
0%
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
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
Updated by Steffen Kamper almost 16 years ago
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.
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