[Typo3-UG Oesterreich] News mit css

Richard Bausek lists at artibella.com
Thu Feb 17 22:00:08 CET 2005


Softnomics Thomas Wegerer wrote:
>  
> Hi,
>  
> bin gerade dabei die news-extension mit dem css-template anzupassen.
>  
> gibt es ne möglichkeit, dass ich ausgabe der latest news wie im
> table-template steuere.
>  
> news 1: weißer Hintergrund
> news 2: grauer Hintergrund
> News 3: weiß
> News 4: grau
>  
>  
> ToM
>  
> 
> 
Hi Tom,

such nach "alternatingLayouts" auf 
http://typo3.org/documentation/document-library/tt_news/Configuration-63/ .

Bzw. kann ich es ja auch schnell rauskopieren ;-):

<quote>
Indicates how many alternating designs the news-script should expect in 
the html-template.

Example:

If you define a subpart like:
"<!--###NEWS###--> ... <!--###NEWS###-->"
this is used all the time.

If you define a similar subpart:

"<!--###NEWS_1###--> ... <!--###NEWS_1###-->"

which might show another set of colors, this is used every second time 
instead of the default! This is because "alternateLayouts" is set to 2.

If you define a similar subpart

"<!--###NEWS_2###--> ... <!--###NEWS_2###-->" ...

this will be used every third time IF (!) "alternateLayouts" is set to 
3. If you do not set it to 3, the first two aternating designs will be 
used only.
</quote>

lg,

richard



More information about the TYPO3-at mailing list