Get list of content elements for "new content" wizard from TCA
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 Ernesto Baschny over 15 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.