[TYPO3-content-rendering] A new approach to Content Rendering

Stefan Beylen intsys at swissinfo.org
Tue Jul 5 22:47:07 CEST 2005


JoH wrote:
> Well - still it seems you don't get the point.

I do. I am just wondering how you would assign the styles in the header 
dynamically. what if one uses LI for images and another one uses DIVS. 
what if someones making the "wrap" completely different at all?

> There is nothing like "your approach" or "my approach" anymore when we do it
> like I described.

convince me that it works dynamically and I am on your side

> You can simply add "your approach" to the list of available default
> templates for textpic and image elements.

again: where are the styles coming from

> Create 3 files for the HTML/CSS Template and the TypoScript you want to use.
> Fill in the markers and subparts for stuff that has to be dynamically
> created - done.

margin, negative margin and padding as well? dont think so...

> And it's not just about IMGTEXT - it will be a completely new rendering
> concept that will be more comfortable than CSS-styled-content and less
> complex than TemplaVoila.

ok, it /would/ be a great one. I dont see at the moment how you want to 
generate all of that code though for the different possibilities...

> BTW: I don't insist in using a tabular layout. This will just be necessary
> to stay backwards compatible and another possibility for "ignorant" people
> like me ;-)

it is in 99% not necessary anyways to use tabular layout. as stated 
earlier the only problem is when it comes to 3+ cols _plus_ 2+ rows 
_plus_ captiontext in the upper row which is wider than the width of the 
image so it linebreaks into a second line (or third or fourth).
thats /almost/ never happening. not in a contentelement.
:)



More information about the TYPO3-project-content-rendering mailing list