Project

General

Profile

Actions

Feature #72177

closed

Allow typolink-configuration for TMENUITEM

Added by Stefan Neufeind over 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Start date:
2015-12-11
Due date:
% Done:

0%

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

Description

Currently a TMENU for example doesn't use (and doesn't provide similar functionality) base-functionality for typolinks. For example it is not easily possible to make use of a target set for external links. Typolinks default to use what is set in config.extTarget and allow overriding it for a specific typolink.

It would be great to have TMENUITEM support a "typolink"-configuration-property as well and use the typolink-defaults. As such extTarget would work out of the box (like you might expect it). Migration-path for people wanting the old behaviour would be to configure the TMENUITEM-typolink-setting not to honour extTarget.

TMENUITEM has a target-setting, but that's not specific for external targets. There is no extTarget-setting, just target. So we'll need to check how target should behave in the future then - maybe be a default across intTarget/extTarget if those are not explicitly set otherwise or so.

Actions #1

Updated by Stefan Neufeind over 8 years ago

Currently you can only use stdWrap.cObject to override link-generation for TMENUITEMs, use doNotLinkIt=1 and configure the typolink-generation yourself. It will then require a CASE-statement to support links to internal pages as well as shortcuts.

Actions #2

Updated by Benni Mack over 4 years ago

  • Status changed from New to Needs Feedback

Hey Stefan,

interesting idea. can you write down how this syntax would work (and how it would look like compared to the existing code)?

Thanks.
Benni.

Actions #3

Updated by Benni Mack about 4 years ago

  • Status changed from Needs Feedback to Closed

Closed due to lack of feedback, if there is ambition in working on this, we can re-open the ticket.

Actions

Also available in: Atom PDF