[TYPO3-templavoila] Container for Elements / Sections and their output
Dmitry Dulepov
9f4eetb02 at sneakemail.com
Fri Mar 23 09:30:06 CET 2007
Hi!
Andreas Jonderko wrote:
> Im a little bit confused about the output of a mapped fce as:
>
> SECTION
> -Container
> --Element
> --Element
> --Element
> -Container
> SECTION
>
> from HTML:
> <div class='section'>
> <div class='container'>
> <div class='element1'>hello world</div>
> <div class='element2'>hello world</div>
> <div class='element3'>hello world</div>
> </div>
> </div>
>
> i expected the output to be:
>
> <div class='section'>
>
> <div class='container'>
> <div class='element1'>hello world</div>
> <div class='element2'>hello world</div>
> <div class='element3'>hello world</div>
> </div>
>
> <div class='container'>
> <div class='element1'>hello world</div>
> <div class='element2'>hello world</div>
> <div class='element3'>hello world</div>
> </div>
>
> </div>
>
> but it deletes the "container" div, and puts the elements into section...
> Is it wanted? It would be great if TV would not change the given
> structure, so developers could give alredy css classes / JavaScript DOM
> Targets etc. and see the ready output in the same way.
It means only that you did not map it as you should :) Try to change
mapping on SC/CO. One should be INNER, other OUTER but I do not remember
exactly what should be what.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-project-templavoila
mailing list