[TYPO3-english] tt_news - wrap elements

Milan Predić m.predic at youngculture.com
Wed Mar 2 11:12:00 CET 2011


Sören thank you. It is working at least partial :)

I did it this way 
plugin.tt_news.altLayoutsOptionSplit = 1 |*| 0 |*| 2

and it use NEWS_1 and NEWS markers, but never use NEWS_2 marker at the end.

Best regards,
Milan

-----Original Message-----
From: Sören Kracker [mailto:s.kracker at kopfstand-mail.de] 
Sent: Tuesday, March 01, 2011 5:36 PM
To: typo3-english at lists.typo3.org
Subject: Re: [TYPO3-english] tt_news - wrap elements

You can use the tt_news template to do so. You have markers like this:
###NEWS### and ###NEWS_1### in there.
In typoscript u use something like:
plugin.tt_news.altLayoutsOptionSplit = 0 |*| 1 |*| 2
or
altLayoutsOptionSplit = 0 || 0 || 1 |*| 2 |*| 2 (this uses marker NEWS 
for first 2 items, marker NEWS_1 for third item and marker NEWS_2 for 
the rest)

be careful: Usage here is not exactly the same as for the well known split.
See http://bugs.typo3.org/view.php?id=12905

Kind regards,
Sören

Am 01.03.2011 17:23, schrieb Milan Predić:
> Hi T3 people,
>
> How can I set wrap on elements in LIST view so it should be first|*|middle|*|last?
> I have googled a lot but without success
>
> Tried something like this:
>
> plugin.tt_news {
>          general_stdWrap {
>             wrap =<div class="first">|</div>  |*|<div class="middle">|</div>  |*|<div class="last">|</div>
>          }
> }
>
> But this is not working. Also haven't found anything in documentation for tt_news
>
> Best regards,
> Milan
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list