[TYPO3-german] Template Voila + TT_News

Martin Weissen martin at weissen.li
Fri Dec 5 09:40:16 CET 2008


Hallo Hans

mit

> plugin.tt_news {
>     ## Show news which have at least one of the selected categories assigned
>     categoryMode = 1
>
>     ## this will only show items with category (UID) 3,4,5,6,7,8,23,56
>     categorySelection = 3,4,5,6,7,8,23,56
> }

in deinem Fall wäre dass dann:

> lib.box1 < plugin.tt_news
> lib.box1 {
>     templateFile = fileadmin/templates/tt_news/default.tmpl
>
>     ## Show news which have at least one of the selected categories assigned
>     categoryMode = 1
>
>     ## this will only show items with category (UID) 3,4,5,6,7,8,23,56
>     categorySelection = 3,4,5,6,7,8,23,56
> }

Steht alles in der Doku:
http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.2/view/


Gruss
Martin

Hans Peter Maier wrote:
> Danke f�r den Tipp.
> Wie kann ich ,wenn ich das Plugin TT_NEWS �ber TS einbinde, die Kategorien 
> zuweisen?
> 
> Viele Gr��e
> HP
> 
> "Martin Weissen" <martin at weissen.li> schrieb im Newsbeitrag 
> news:mailman.1749.1228401128.2904.typo3-german at lists.netfielders.de...
>> Hallo Hans Peter
>>
>> Du kannst in deinem TemplaVoila Template die 3 Boxen als 
>> TypoScriptObjectPath
>> mappen und anschliessend mit TS so ansprechen:
>>
>>> lib.box1 < plugin.tt_news
>>> lib.box1.templateFile = fileadmin/templates/tt_news/default.tmpl
>>>
>>> lib.box2  < plugin.tt_news
>>> lib.box2.templateFile = 
>>> fileadmin/templates/tt_news/irgendeinanderestemplate.tmpl
>>
>> Gruss
>> Martin
>>
>>
>> Hans Peter Maier wrote:
>>> Hi,
>>>
>>> ich stehe vor folgendem Problem.
>>> Ich habe auf einer Seite 3 Boxen. In jede einzelne soll als Plugin 
>>> TT_News
>>> eingesetzt werden.
>>> Mein Problem besteht jetzt darin das ich f?r jedes TT_Newsplugin ein 
>>> andere
>>> Template ben?tigte.
>>>
>>> Normal teile ich tt_news f?r die Seite ?ber die Constans:
>>> plugin.tt_news.file.templateFile = ....
>>> ein Template zu.
>>> Wie kann ich jeder Box ein anderes Template f?r TT_News zuteilen?
>>>
>>> Gru?
>>> HP
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> TYPO3-german mailing list
>>> TYPO3-german at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list