[Typo3-dev] Laout of TV

Kraft Bernhard kraftb at gmx.net
Mon Jun 20 15:02:00 CEST 2005


Hallo robert, mathias and "ranting tobi" :)

tapio wrote:

> I would like that the TemplaVoila plugin would be easy skinnable.
> That means that all important tables, table rows and cells have classes.
> Then it would be easy to get to TemplaVoila the same layout as the other 
> interfaces has by defining color, background-colors and border throght 
> the CSS file for the skin.
> 
> An example. The final source code of the file
> http://www.tapionet.net/typo3conf/ext/templavoila/mod1/index.php?id=366

I already tought about that and have a similar feature request which would also
solve the problem of skinning partly

I talk about the following:
When you enter the new Page module you see an area where you defined Content Areas
from the DS get represented ... they are all in one TR. I already heard that there are
people who create 10+ Contet Area columns for TV ... Now when all those CA's are in
one line you have really not much space (horizontal) for each CA area...

I tought about a kind of Templating system for the Page module. To each DS (or even better to
each TO) there is a special HTML-Template file attached which contains the definition of the
TV ContentAreas.

You should be able to either write a completly static template or a somehow "dynamic" one.
In a static one you just define ###field_content### and the section where the content-elemnts
from the field_content get displayed and are editable will get inserted into this marker ....

In dynamic templates you have markers like ###CONTENT_1### ###CONTENT_2### and you will have to
define some kind of MAX_VAL ... then all the first two content areas should get filled into the
two markser ... every succeding two content areas should get put into a repetation of the markser.
So a dynmic template would look like

<table cellspacing="5" cellpadding="0" border="0" class="class-for-tapio">
<!-- ###CONTENT_TEMPLATE### begin -->
<tr>
	<td>
             ###CONTENT_1###
	</td>
	<td>
             ###CONTENT_2###
	</td>
</tr>
<!-- ###CONTENT_TEMPLATE### end -->
</table>



Is this a feasible idea ?


greets,
Bernhard
-- 
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50




More information about the TYPO3-dev mailing list