Feature #14886
closedstdWrap for TMENUITEM's ATagParams
0%
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
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
Updated by Ernesto Baschny about 19 years ago
Patch erweitert, nun sollten alle ATagParams berücksichtigt sein.
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?!