[TYPO3-english] tt_news - wrap elements
Sören Kracker
s.kracker at kopfstand-mail.de
Tue Mar 1 17:35:35 CET 2011
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