[TYPO3-english] content element type "header" doesn't get listed

Chris Müller mueller at cyperfection.de
Wed Nov 17 08:23:56 CET 2010


Hi Horace,

have a look at the PageTS under "Web>Info>Page TSconfig". There you have 
to search for "mod.wizards.newContentElement.wizardItems". Under the 
entry "common" there are the content elements "text", "textpic", etc. 
Now you can add the header to them via

mod.wizards.newContentElement.wizardItems.common {
   elements {
     header {
       icon = path/to/icon.gif
       title = Header
       description = Your Description
       tt_content_defValues.CType = header
     }

     show := addToList(header)
   }
}

If you are using Templavoila you have to change "mod." to "templavoila."

Regards,
Chris.

Am 16.11.2010 19:11, schrieb horace grant:
> hi,
>
> why is it that content elements of type "header" don't get listed if i want
> to add a new content element. i only can choose it if i change the type of
> an already existing content element. what's the reason for this and how
> could i change this?
>
> cheers,
> horace



More information about the TYPO3-english mailing list