[TYPO3-core] Q: change in flexform display?
Benjamin Mack
mack at xnos.org
Thu Nov 8 10:04:26 CET 2007
Hey Dmitry,
great idea. I like it, so if these renderers would be extensions it
would be great and funny to design the BE layout like this and people'd
do with it. Sounds like a separate templating API for the flexforms.
Anyway, as much as I like it, it's unfortunately attached to a load of work.
I see new ideas rising up weekly here. Maybe we should have a wiki page
where we can paste the ideas and say "future ideas"?
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
Dmitry Dulepov [typo3] wrote:
> Hi!
>
> Kasper Skårhøj wrote:
>> Yes, it was me who changed it. In fact, changing this part is not
>> critical for my main work on flexforms which was on DHTML features. So
>> we could restore the old look as an option. Of if the majority of you
>> wants the old look as default the new one can be the option. Feel free
>> to implement that. The new look has at least the advantage that it is
>> not table based. In fact, this was the reason why I changed it, to get
>> rid of tables and using <div> instead. Necessary for nice nesting.
>>
>> However, I believe we should work with Jens Hoffman and Benjamin Mack on
>> improving the options for display. Here are my main ideas (attached image):
>>
>> a) That fields can be listed side-by-side. Like "Movie title" and "Movie
>> poster image" below. We can imagine that subsequent fields are just
>> "floats" like this - or that they are positioned with some absolute
>> numbers. I don't know.
>> b) that items (like "Basic row") could be set up in a sort of "table
>> row" fashion. WIth the new dynamic of flexforms this view could be
>> highly effective way of making tables!
>
> I like the idea :) So layout should be defined in some way. Similar technique exists now in templavoila, where admin user can define how Page module lays out content blocks. May be we should make it generic for flexforms, not just tv-specific.
>
> It is difficult to me to imagine how we can back old look without tables. CSS floats are not flexible enough to automatically adjust its width to label content. One solution is to remove hard-coded rendering of flexforms from TCEforms at all and make three special rendering classes: one abstract and two real. User may define what rendering he wants by including a new tag into <meta>. Then TCEforms instantiates corresponding renderer and does rendering. This way we can have lots of renderers, even experimental ones (like the one you described above) whithout loosing previous looks. We just plug them in and they can be used.
>
> What do you think about idea with flexform renderers?
>
More information about the TYPO3-team-core
mailing list