|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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> & nbsp; &n bsp; ]]> </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 _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
Hi Michael,
maybe this extension helps you: http://typo3.org/extensions/reposito...alayout/0.1.5/ greetings Ron Michael Niemann schrieb: > 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> & nbsp; > &n bsp; ]]> > </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 > > > > > _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-templavoila] FCEs: mapping or wrap? | Niels Fröhling | typo3-project-templavoila@lists.netfielders.de | 0 | 09.05.2008 23:56 |
| [TYPO3-templavoila] getting an overview of used FCEs | Michael Bakonyi | typo3-project-templavoila@lists.netfielders.de | 4 | 14.12.2007 09:41 |
| [TYPO3-templavoila] Localization of FCEs in the BackEnd | Miriam Scheibe | Paints | typo3-project-templavoila@lists.netfielders.de | 0 | 30.08.2007 17:14 |
| [TYPO3-templavoila] Controlloing the layout of TemplaVoila | Tapio Markula | typo3-project-templavoila@lists.netfielders.de | 3 | 21.04.2007 09:52 |
| [TYPO3] Templavoila: Rules for nesting FCEs | Jean-Pierre Praz | typo3-english@lists.netfielders.de | 0 | 23.03.2007 19:03 |