Feature #22300
closedPossibility to configure another link paramter for jumpurl filelinks
0%
Description
When you produce a filelink with stdWrap.filelink and jumpurl.secure you will be linked to the current PageId and type again with appenden jumpurl GET-Params.
Most times it doesn't matter which pid or type is used by the link, because tslib_fe will redirect the request to the jumpurl anyway.
But there are usecases where the pid and type can be important.
Example: you want to log file downloads using config.stat, but don't want to log every page hit. So you can set con.stat_typeNumList to 1119, so that only hits with this typeNum are logged. But currently you can not use that custom type for your filelink.
This patch introduces a property jumpurl.parameter to stdWrap.filelink.
It's straight forward applied to typolink.parameter so it has the same datatype/usage/syntax.
Also it has stdWrap properties of course.
When no parameter is set, the default behavior (current pid and typeNum) is applied.
(issue imported from #M13865)
Files