Feature #14886

stdWrap for TMENUITEM's ATagParams

Added by Ernesto Baschny almost 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-07-29
Due date:
% Done:

0%

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

Description

Currently the ATagParams of a TMENUITEM is just a string. But sometimes you want to do fancy stuff with this information, like e.g:

ATagParams = accesskey="{field:tx_govaccesskey_accesskey}" tabindex="{field:tx_govaccesskey_tabindex}"

This doesn't work right now, because the ATagParams is not going through stdWrap.

So this feature-request, which is already implemented using the attached patch (for 3.8-release), simply passes the ATagParam through stdWrap if there are stdWrap properties. With this patch applied, this would allow something like:

ATagParams = accesskey="{field:tx_govaccesskey_accesskey}" tabindex="{field:tx_govaccesskey_tabindex}" 
ATagParams.insertData = 1

(issue imported from #M1320)


Files

ATagParams-stdWrap.patch (3.63 KB) ATagParams-stdWrap.patch Administrator Admin, 2005-10-31 15:51

Related issues

Has duplicate TYPO3 Core - Feature #15166: typolink ATagParams should have stdWrap propertiesClosed2005-10-31

Actions
#1

Updated by Ernesto Baschny over 15 years ago

The new patch "ATagParams-stdWrap.patch" obsoletes the first one. The new patch adds the stdWrap properties to all occurrences of ATagParams, so we have a consistent interface to A-tag parameters. The places where this is used:

cObj: IMGTEXT
property: netprintApplicationLink.ATagParams

function: filelink
property: ATagParams

function: makelinks
property: http.ATagParams
property: mailto.ATagParams

function: typolink
property: ATagParams

cObj: TMENUITEM
property: ATagParams

TLO: CONFIG
property: ATagParams -> not possible, since we cannot use stdWrap at the time this is parsed

#2

Updated by Ernesto Baschny over 15 years ago

Patch erweitert, nun sollten alle ATagParams berĆ¼cksichtigt sein.

#3

Updated by Michael Stucki over 15 years ago

I think this should be fixed in 4.0. Is anybody going to have a look at it, please?!

#4

Updated by Sebastian Kurfuerst over 15 years ago

will take care of it.

#5

Updated by Sebastian Kurfuerst over 15 years ago

fixed in CVS.

Also available in: Atom PDF