CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #11420

Do not create links to current page

Added by Andreas no-lastname-given over 2 years ago.

Status:New Start date:2010-12-13
Priority:Could have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Hi Alex,

it would be nice to disable the link-tooltip feature if current TSFE->ID equals the link target.

I made a simple solution which works for me:

File: "class.tx_wtcsstooltip_replace.php":

      //if ($this->isAllowed($this->tips[$i]['search'])) { // check if current searchterm is allowed
        if ($this->isAllowed($this->tips[$i]['search']) && ($TSFE->id != $this->tips[$i]['link'])) { // check if current searchterm is allowed AND we do not link to current page

It would be nice to have something like this configurable in the extension.

Greetings from Austria
Andreas

Also available in: Atom PDF