[TYPO3-english] optionSplit for text value

Jan Bednarik info at bednarik.org
Fri Jul 13 08:02:45 CEST 2012


Hi Sergio,

assuming that the extension does support optionSplit, which is not 
automatically (AFAIK) then you need to write this like this:

value = alpha |*| |*| omega

yours is first || second || third

anyway, since it doesn't even work this way, I'm afraid the extension 
doesn't support optionSplit.

Jan

Dne 12.7.2012 9:47, Sergio napsal(a):
> Hi list,
>
> I'm using ttnewsgenericmarkers extension to add my own tag to tt_news
> template and I have to face with the next problem: I want to "split" this
> tag some way.
>
> My TS knowledge is very poor. I've been looking for the optionSplit code
> too, but I don't know how to use it correctly. Could you just help me?
>
> The idea is doing something like that:
>
> plugin.tt_news.genericmarkers {
>    css = TEXT
>    css {
>      value = alpha || || omega
>    }
> }
>
> I mean: using "alpha" text for the first element, nothing for the middle
> parts and "omega" text for the last element.
>
> This code doesn't work as it replaces all text, and it doesn't split it.
>
> Thanks in advance,
> Sergio
>




More information about the TYPO3-english mailing list