Project

General

Profile

Actions

Bug #20830

closed

filelinks are not created via typolink

Added by Benni Mack over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-08-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As you have extensions that hook into the main render process of the typolink method, it'd be helpful if almost all links use the typolink method in tslib_content. However, functions like filelink() in the same class create their own A-Tag. This is the reason why naw_securedl (which uses a typolink hook) does not work with the CE "uploads" (which uses filelink to render the links).

The attached patch makes a typolink call in the filelist method and clears some if () statements to make the code more readable on this area. Additionally, as the typolink method does the jumpURL feature as well, we don't need this check in filelist anymore, however jumpurl.secure is needed there.

(issue imported from #M11642)


Files

11642_filelink_typolink.patch (3.22 KB) 11642_filelink_typolink.patch Administrator Admin, 2009-08-04 18:48

No data to display

Actions

Also available in: Atom PDF