[TYPO3-templavoila] Sections and Outer Mode bug

Matthew Colton mat at colton.de
Tue Aug 10 12:50:57 CEST 2010


Hi,
in a FCE that has the basic structure

<div class="whatever">
  <div class="header"><h1></h1></div>
</div>

The mapping is
CO:ROOT, mapped to "div.whatever"
  SC: mapped in outer mode to "div.header"
    CO: mapped in outer mode to "h1"
      EL: mapped in outer mode to "h1"
      NO: Select for selecting header type (h1-h4)

My intent is that the "div.header" is not rendered as it is only used for 
mapping. The whole header is optional. The problem is that "div.header" is 
only not rendered if 
a) "div.header" contains an EL or
b) "div.header" contained an EL that was deleted

If the Editor doesn't use the header in the first place the surrounding 
"div.header" is rendered.

Is that a bug?

Thanks in advance!
-- 
Cheers
M@


More information about the TYPO3-project-templavoila mailing list