[TYPO3-core] RFC: #7199, Feature Request, Possibility change Linktext-Rendering in content Element "Uploads"

Steffen Ritter info at rs-websystems.de
Fri Jan 18 12:44:54 CET 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: class.tx_cssstyledcontent_pi1_v3.2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080118/03e96bce/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: class.tx_cssstyledcontent_pi.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080118/03e96bce/attachment-0003.txt 


More information about the TYPO3-team-core mailing list