Project

General

Profile

Actions

Feature #14886

closed

stdWrap for TMENUITEM's ATagParams

Added by Ernesto Baschny over 19 years ago. Updated over 18 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Ernesto Baschny about 19 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

Actions #2

Updated by Ernesto Baschny about 19 years ago

Patch erweitert, nun sollten alle ATagParams berücksichtigt sein.

Actions #3

Updated by Michael Stucki almost 19 years ago

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

Actions #4

Updated by Sebastian Kurfuerst almost 19 years ago

will take care of it.

Actions #5

Updated by Sebastian Kurfuerst almost 19 years ago

fixed in CVS.

Actions

Also available in: Atom PDF