[TYPO3-core] RFC: #7199, Feature Request, Possibility change Linktext-Rendering in content Element "Uploads"
Benjamin Mack
benni at typo3.org
Mon Sep 15 07:19:22 CEST 2008
Hey Steffen,
could you update your patch, so we can proceed here?
Ingmar Schlecht wrote:
> Hey Steffen,
>
> looks good, in general +1 by reading, just some comments:
>
> - The phpDoc @param's comments are partly wrong / missing
> - The new config options need documentation, see:
> http://typo3.org/teams/core/core-mailinglist-rules/#documentation
>
> Apart from that, good work!
>
> cheers
> Ingmar
>
>
> Steffen Ritter schrieb:
>> This is an SVN patch request.
>>
>> Type: Feature Request
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=7199
>>
>> Branches:
>> Trunk
>>
>> Problem:
>> Rendering filelinks from content-Element upload with CSC will always
>> display the filename as linktext. Since blanks in filenames are
>> converted to underscores this may not look very nice.
>>
>> Solution:
>> I added a "transversion" function to class.tc_cssstyledcontent_pi1.php
>> and depending on two TS Flags this function is called to change the
>> filelink.
>> If tt_content.uploads.20.transverseLinkText is set, all underscores
>> get converted to blanks.
>> If in addition tt_content.uploads.20.cutOffExt is set, the
>> fileExtension is cut off.
>>
>> I added the patches for the version 3.1 and 3.2 of CSC because I
>> needed to patch TYPO3 4.1.5 for using and in addition I did it for the
>> current trunk version.
>>
>> Cheers
>>
>
--
All the best,
benni.
-SDG-
More information about the TYPO3-team-core
mailing list