[TYPO3-templavoila] BE Layout for FCEs

Michael Niemann xml.transformator at yahoo.com
Wed Jun 11 09:18:51 CEST 2008


Hello,

I'm struggling to get a backend layout for FCEs. It works perfectly for pages but complex FCEs need a good layout, too.
For example I have a FCE which contains several fields and a content area. By default the content area is shown first and the fields below although the content are is between fields in the FCE.

To fix this I added the following to the DS:

<beLayout> <![CDATA[    
    <div class="fce-expandablebox" style="border: 1px solid #7F9897; background: #AFD7D6; margin-bottom: 8px"> 
    <table width="99%" border="3" rules="all">
        <tr>
            <td width="30%"valign="top" rowspan="2">###field_text1###</td> 
            <td width="70%" valign="top">###field_text2###</td> 
        </tr> 
        <tr> 
            <td width="70%" valign="top">###field_text3###</td> 
        </tr> 
        <tr> 
            <td width="99%" valign="top"colspan="2">###field_contentarea###</td> 
        </tr> 
    </table>
    </div>           
            ]]>       
</beLayout>

The whole FCE should have a different background color and the content area should apear in the last row.

This doesn't work at all. The result is that only the content area has the background color and the fields are not positioned at all. They are still below the content area.

My guess is that either only content areas can be displayed by the backend layout (because only the content area has the background color) or there needs to be some additional code to apply the layout on simple fields.

Does anyone have more information or documentation on this issues?

Regards
Michael




      


More information about the TYPO3-project-templavoila mailing list