Created
December 16, 2015 19:49
-
-
Save josefglatz/a8f952e6b565c6a2b7bf to your computer and use it in GitHub Desktop.
TYPO3 6.2 TypoScript Only Drop In Replacement for CSC v4.5 && removed ext:css_filelinks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tt_content.uploads { | |
| wrap = <div class="filelinks">|</div> | |
| // drop in replacement for ext:css_filelinks | |
| 200 = COA | |
| 200 { | |
| 10 = FILES | |
| 10 { | |
| references { | |
| table = tt_content | |
| fieldName = media | |
| } | |
| renderObj = COA | |
| renderObj { | |
| wrap = <div class="fileitem">|</div> | |
| 50 = TEXT | |
| 50 { | |
| dataWrap = <span class="fileicon"><img src="fileadmin/css/images/{file:current:extension}.png" alt="{file:current:extension}"></span> | |
| } | |
| 100 = TEXT | |
| 100 { | |
| data = file:current:name | |
| wrap = <span class="filename">|</span> | |
| typolink { | |
| parameter.data = file:current:publicUrl | |
| fileTarget = _blank | |
| title.dataWrap = Datei herunterladen / Download this file | |
| } | |
| } | |
| } | |
| } | |
| } | |
| # reset default CSC 4.5 rendering | |
| 20 > | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment