[TYPO3] about TemplaVoilà mapping...

manolobimbo (Emmanuel Brost) manolobimbo at manolobimbo.com
Tue May 20 19:15:49 CEST 2008


Thanks Dmitry.
I think i begin to understand.
I must use typoScript object Path as Editing type and then something 
like lib.news <plugin.tt_news as Object path.
The markers inside my template file will be correctly replaced by their 
content.
Am I right ?


Dmitry Dulepov [typo3] a écrit :
> manolobimbo (Emmanuel Brost) wrote:
>   
>> Thanks for your answer, Dmitry. i'm not at the origin of this message 
>> but i'm very interested too.
>> i don't know wich templating solution to choose for weeks now.
>> I would to use tt_news and templavoila at the same time. Can I use a 
>> html template (with markers ans subparts) with templavoila  or do i have 
>> to write pure typoscript and insert it in the DS ?
>>     
>
> If I understand correctly, you want to have one file for both TV and tt_news. Yes, this is perfectly fine. Normally you can have something like:
>
> -----------------------------
> <html>
> <head></head>
> <body>
>
> <div id="menu"> <!-- map to menu -->
> </div>
>
> <div id="content"> <!-- map to content -->
>
> 	<!-- TEMPLATE_LATEST begin -->
> 	tt_news markers here...
> 	<!-- TEMPLATE_LATEST end -->
>
> </div>
>
> </body>
> </html>
> -----------------------------
>
> When you map "content" div, TV will replace everything inside with content elements, so you will not have tt_news markers on the page. But you can pass the same file as template to tt_news. No problem at all.
>
>   



More information about the TYPO3-english mailing list