[TYPO3] How can we replace a | with TS

JoH info at cybercraft.de
Sat Apr 1 02:24:04 CEST 2006


>>> How can we replace a pipe | with TS in text or a navigation?
>>> I could not find anything in the archives.
>>
>> Heh :) This old chestnut! Use the appropriate html entity:
>>
>> |
>>
>> -Christopher
>
> Hi Christopher,
>
> Thanks, but that's not what we are looking for, we know that. We want
> to replace a pipe/letter/symbol with TS.

Try this one:

10 = TEXT
10 {
    field = bodytext
    parseFunc {
        short {
            | = my replacement
        }
    }
}

Not tested!

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de





More information about the TYPO3-english mailing list