Skip to content
Snippets Groups Projects
Commit 26e947a6 authored by Georg Ringer's avatar Georg Ringer Committed by Christian Kuhn
Browse files

[BUGFIX] Use title & alternative fields in filelinks

* The field "alternative" of the file should be used if filled.
* The field "title" of the reference should be preferred over the
  name if filled.

Resolves: #60429
Releases: 6.3, 6.2
Change-Id: I969dbb49a292f9980b9efa0e5e72ff2a9bc7e2f3
Reviewed-on: http://review.typo3.org/32640


Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent e322b5f3
No related merge requests found
......@@ -1249,6 +1249,11 @@ tt_content.uploads {
fileTarget.override.override.field = target
removePrependedNumbers = 1
title {
data = file:current:alternative
htmlSpecialChars = 1
}
/*
jumpurl = {$styles.content.uploads.jumpurl}
jumpurl {
......@@ -1285,7 +1290,7 @@ tt_content.uploads {
# filename
20 = TEXT
20 {
data = file:current:name
data = file:current:title // file:current:name
htmlSpecialChars = 1
required = 1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment