Feature #14886

stdWrap for TMENUITEM's ATagParams

Added by Ernesto Baschny over 14 years ago. Updated over 13 years ago.

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

0%

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)

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


Related issues

Duplicated by TYPO3 Core - Feature #15166: typolink ATagParams should have stdWrap properties Closed 2005-10-31

History

#1 Updated by Ernesto Baschny about 14 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 about 14 years ago

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

#3 Updated by Michael Stucki almost 14 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 almost 14 years ago

will take care of it.

#5 Updated by Sebastian Kurfuerst almost 14 years ago

fixed in CVS.

Also available in: Atom PDF