[TYPO3-english] Cropping a filelinks module

Urs Bräm info at ursbraem.ch
Mon May 16 19:57:20 CEST 2011


Hi Enrique

tt_content.uploads.20.itemRendering.20.1.cropHTML = 16|...
	
this should crop the Filename to 16 Letters (well, also the file 
extension...), is that what you wanted to do?

Urs


Am 16.05.11 18:32, schrieb Enrique Moreno Tent:
> Hello guys. Ive built a module with a filelinks like this:
>
>              MAIN<  tt_content.uploads
>
> , but i want to use "crop" on the title of each file, so that it doesnt
> surpass 16 chars. Any idea how could this be done? Some poeple suggested I
> override the userFunc from css_styled_content, but Ive looked at it and its
> quite complicated. isnt there an easier way?
>
> thanks


-- 
Urs Bräm
macht Websites
---
Certified Typo3 Integrator
CH-3011 Bern
www.ursbraem.ch


More information about the TYPO3-english mailing list