Feature #11420
Do not create links to current page
| 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