Feature #15150
closedGet list of content elements for "new content" wizard from TCA
0%
Description
We could remove the "hard-coded" content types from the "new content" wizard (cms/layout/db_new_content_el.php) and have the information about the CTypes come directly from the TCA. So we could add other CTypes to the wizard through extentions.
This means adding more parameters to TCA and have them being evaluated by the wizard.
Relates to 0001628.
(issue imported from #M1723)
Updated by Sebastian Kurfuerst about 19 years ago
Hi, do you already know which options you'd need to add to TCA?
Greets, Sebastian
Updated by Ernesto Baschny about 19 years ago
I've discovered that the "new page wizard" can be expanded in extentions with the $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"] hook and a "*_wizicon.php" class.
So the only trouble that remains is that the order of items is relevant, as I cannot add anything to the "Common Elements". I can just append to the "Plugins" section (or create a new section on my own).
We should group the items before outputting, so I can also add to "common_" or other groups that are already available.
Updated by Ernesto Baschny about 15 years ago
Resolved by Steffen's new feature (rev. 4954, #19382)