Project

General

Profile

Actions

Feature #22300

closed

Possibility to configure another link paramter for jumpurl filelinks

Added by Sebastian Michaelsen over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-03-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

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

13865_v1.diff (1.04 KB) 13865_v1.diff Administrator Admin, 2010-03-19 11:55
Actions #1

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF