[TYPO3] Mapping Content Element to Template

André Wolff andre at temporeal.com.br
Fri Sep 29 00:11:43 CEST 2006


Hi Charles,

Thank you for your message !

Sorry for not making the point clear.

I made my template by hand. As a beginner I rather use this approach.
The areas in my template look like this :

<!-- ###MAIN_AREA### start -->
<div id="tema01" class="itens"><img src="images/sol_voce.gif" />
	<div id="cont_tema01" class="txt_itens"></div>
<div id="tema02" class="itens"><img src="images/sol_empresa.gif" />
	<div id="cont_tema02" class="txt_itens"></div>
</div>
<div id="tema04" class="itens"><img src="images/avaliacao.jpg" /></div>
<div id="tema03" class="itens"><img src="images/artigos.gif"  />
	<div id="cont_tema03" class="txt_itens"></div>
</div>
<!-- ###MAIN_AREA### end -->

The idea is to trade the MAIN_AREA for 4 content areas TEMA01, TEMA02,
TEMA03,TEMA04.

So the outlook would be :

<!-- ###DOCUMENT_BODY### start -->
...
	<!-- ###MAIN_MENU### start -->
	...
	<!-- ###MAIN_MENU### end -->
	...
	<!-- ###LEFT_AREA### start -->
	...
	<!-- ###LEFT_AREA### end -->
	...
	<!-- ###TEMA01### start -->
	...
	<!-- ###TEMA01### end -->

	<!-- ###TEMA02### start -->
	...
	<!-- ###TEMA02### end -->

	<!-- ###TEMA03### start -->
	...
	<!-- ###TEMA04### end -->

	<!-- ###TEMA04### start -->
	...
	<!-- ###TEMA01### end -->
...
<!-- ###DOCUMENT_BODY### end -->

So I have criated the content elements that should be mapped to
TEMA[01...04] and my doubt is how to reach them in TS using
styles.content.get???? so I can use the <div ... > information on the
wrap !

Thank you for the patience !

André

-- 
Livraria Tempo Real
A Livraria do Profissional de Informatica
SPO - 11 3266-2988 * POA 51 3029-0044

Editora Packt Publishing, Impresso no Brasil pela Tempo Real
http://www.temporeal.com.br/packt

Confira nosso calendário de eventos em : http://www.temporealeventos.com.br




More information about the TYPO3-english mailing list