[TYPO3-english] Cropping a filelinks module

Enrique Moreno Tent enriquemorenotent at gmail.com
Tue May 17 09:18:00 CEST 2011


Hi Urs. Unfortunately, that did NOT work for me. :( This is the code now:

            MAIN < tt_content.uploads
            MAIN.20.itemRendering.20.1.cropHTML = 16|...


On Mon, May 16, 2011 at 7:57 PM, Urs Bräm <info at ursbraem.ch> wrote:

> 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
> _______________________________________________
> 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