[TYPO3-core] RFC #13865: Feature: Possibility to configure alternative parameter for jumpurl filelinks

Sebastian Gebhard sebastiangebhard at hoch2.de
Mon Mar 29 08:10:07 CEST 2010


REMINDER #1
(Getting your good karma today is easy: This RFC is easy to test)


Am 19.03.10 11:56, schrieb Sebastian Gebhard:
> This is an SVN patch request.
>
> Type: Feature
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=13865
>
> Branches: trunk
>
> Problem:
> 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.
>
> Solution:
> This patch introduces a property jumpurl.parameter to stdWrap.filelink
>
> Notes:
> 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.
>
> Testcase:
> lib.myfilelink = TEXT
> lib.myfilelink{
> value = mydoc.pdf
> filelink{
> path = fileadmin/downloads/
> jumpurl = 1
> jumpurl.secure = 1
> jumpurl.parameter.dataWrap = {TSFE:id},1119
> }
> }
> jumpurlpage = PAGE
> jumpurlpage.typeNum = 1119
>
>
> Kind regards,
> Sebastian Gebhard



More information about the TYPO3-team-core mailing list