---
title: "TYPO3 7.6 TMENU Anker-Links URL"
url: "https://www.typo3.net/d/123481-typo3-76-tmenu-anker-links-url"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage","Links","TYPO3 7"]
created: "2016-12-06"
last_reply: "2016-12-06"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# TYPO3 7.6 TMENU Anker-Links URL

TYPO3 › Menüs · 1 Antwort · gestartet 2016-12-06

## Eröffnungsbeitrag

**burcardo** · 2016-12-06 · [Beitrag #1](https://www.typo3.net/d/123481-typo3-76-tmenu-anker-links-url/1)

Hey TYPO3ler,

für eine mobile Navigation mit Bootstrap Code habe ich in TYPO3 6.2 folgenden Code verwendet, der einwandfrei funktioniert, also Anker-Links, die im a href ohne url ausgegeben werden:

```html
<a href="#c3" aria-controls="collapse" aria-expanded="false" class="collapsed" data-toggle="collapse">LINK</a>
```

...

```typoscript
IFSUB =
IFSUB {
doNotLinkIt = 1
wrapItemAndSub = <li class="has-submenu second-level">|</li>
stdWrap.typolink.ATagParams = aria-controls="collapse" aria-expanded="false" class="collapsed" data-toggle="collapse"
stdWrap.typolink.parameter.data = page:uid
stdWrap.typolink.section.field = uid
}
```

...

Im Setup dazu noch:

```typoscript
config.prefixLocalAnchors = 0
config.absRefPrefix = /
```

In 7.6 funktioniert das nicht mehr. Stattdessen:

```html
<a href="/index.php?id=3#c3" aria-controls="collapse" aria-expanded="false" class="collapsed" data-toggle="collapse">LINK</a>
```

Kann mir jemand helfen?

LG, Burkhardt

## Antworten

### [#2](https://www.typo3.net/d/123481-typo3-76-tmenu-anker-links-url/2) · burcardo · 2016-12-06

Na dann helfe ich mir mal selbst auch wenn das nicht wirklich hilft:

Deprecated since 7.2:

<https://docs.typo3.org/typo3cms/extensions/core/Changelog/7.2/Deprecation-65934-PrefixLocalAnchorsMovedToLegacyExtension.html>

---

Quelle: „TYPO3 7.6 TMENU Anker-Links URL“, typo3.net, https://www.typo3.net/d/123481-typo3-76-tmenu-anker-links-url
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
