[TYPO3] change/add content wizard items

Patric Pesch p.pesch at 11com7.de
Fri May 23 10:07:41 CEST 2008


Patrick Rodacker schrieb:
> Hi Patric,
> 
> Patric Pesch wrote on 21.05.2008 16:16:
> 
>> TCEFORM.tt_content.CType.removeItems = ...
>> i can remove any item, but how can i add some?
> 
> TCEFORM.tt_content.CType.addItems.123 = Title of new item!
> 
> See Page TSconfig [1] for more information.
> 
> HTH
> Patrick
> 
> [1] 
> http://typo3.org/documentation/document-library/references/doc_core_tsconfig/4.1.0/view/1/3/#id3541144 
> 
Hi Patrick,
thanks for the hint, but addItems is not for standard content
elements:
> Warning: This example shows the principle of adding adhoc-items 
 > to a selector box in TYPO3 but you should not add new
 > page types or Content Element types this way!

In addition it adds only entries to the content element dropdown-menu.

I've now found an extension (addheaderwizard), which does the trick.
I don't really like this way, but i do not found a better one.

Patric


More information about the TYPO3-english mailing list