[TYPO3-dev] Header section of cType HTML

Susanne Moog typo3 at susannemoog.de
Tue May 19 18:18:26 CEST 2009


Hey,

Steffen Müller schrieb:
> Hi.
> 
> The header section of the HTML content element is different to the other
> content elements:
> 
> 
> CType Text:
> -----------------------
> Header:
> 
> 
> Type:           Link:
> ------------------------------
> 
> 
> CType HTML:
> -----------------------
> Name:
> 
> ------------------------------
> 
> Why should an HTML content element have different header TCA?
> Is this done by intention or is it a bug? I'd like to hear your opinion
> before providing a patch. Small hints welcome.

IIRC the "Header" gets actually rendered in the frontend, the "Name"
does not. So the name is only there to identify the HTML-item in the
backend (as you probably put your own header definition in pure HTML
into the content element) whereas the header elements go through the
normal lib.stdheader rendering procedure.

If my remembering is right one could of course argue, that people who
don't want the header displayed in the frontend could use the "hidden"
layout type so that we can render the HTML header like the other
headers. It's more consistent, easier to understand for editors and more
convenient for those that want their HTML elements to have headers.

Regards,

Susanne

-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de




More information about the TYPO3-dev mailing list