[Typo3] change the color of the first word of a header or a title

Mario marrio at email.si
Mon Nov 14 11:08:47 CET 2005


Peter Klein wrote:
> Hi Mario. Take a look at this TS code.
> http://typo3.umloud.dk/index.php?id=361
> 
> You should be able to adapt that to your use..
> 
> ---
> Peter Klein /Umloud Untd.
> 
> "Mario" <marrio at email.si> wrote in message 
> news:mailman.1.1131905394.6592.typo3-english at lists.netfielders.de...
> 
> 

Hi Peter,
Thank you for the link!! I didn't make the right combination of your 
code for a while then it suddenly came to me, so here's the code for the 
rest of you having problems with the alttext ;-)) You can easily adjust 
it also for the title text (for those, who doesn't understand the 
difference: ALT - alternate text, when image is not displaying; TITLE - 
title text for the image, show on top of the image when rolling mouse 
over it)

	altText = TEXT
	altText.field  = header
	altText.split {
		token = |
		cObjNum = 1
		1.current = 1
		1.trim = 1
		1.noTrimWrap = || |
	}
	altText.trim = 1

Greetings,
Mario



More information about the TYPO3-english mailing list