“”

Speaking URL fragments (anchors) Speaking URL fragments (anchors)

content_slug / stable

Adds a slug field for human-readable anchors ("domain.com/page/#my-section") to TYPO3 content elements. By default, this anchor is rendered as the header's id attribute.

This version supports TYPO3

Older versions also support TYPO3

Composer support

composer require sebkln/content-slug

Tags

#url #fragment #anchor #human-readable #slug #links

Last upload comment

[FEATURE] Add option to disable check for hidden headers

By default, links to a content element with hidden header will not use a given human-readable fragment. This is because the intended use case of this extension are anchors on heading elements.

The new setting "checkForHiddenHeaders" allows to disable this check. The TYPO3 administrator or integrator is then responsible to provide a suitable Fluid layout for content elements that renders the "{fragmentIdentifier}" at a different HTML tag.

Downloads by month

Download 4.1.0 Extension Manual Found an Issue? Code Insights Packagist.org Crowdin translations
Author
Sebastian Klein
Last update
13. Apr 2025
First upload
04. Mar 2020
Downloads
47,700
Category
Frontend
Dependencies

Installation

  1. Download ZIP file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the ZIP file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.
  1. Go to your folder where the root composer.json file is located
  2. Type: composer require sebkln/content-slug to get the latest version that runs on your TYPO3 version.
  1. Download T3X file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the T3X file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.

Other extensions by this user (3)

Picture Credits Picture Credits
(picturecredits)

Implements a central image rights management in FAL and automated rendering of picture credits on regular content pages.

Supported TYPO3 versions:
CKEditor 5: wordbreak Plugin CKEditor 5: wordbreak Plugin
(ckeditor_wordbreak)

Adds the <wbr> HTML element to CKEditor 5 in TYPO3. If set in a long word, the browser may break a line (without adding a hyphen character). Useful e.g. for long URLs and file paths.

Supported TYPO3 versions:

Provides a drop-down list which uses Ajax to load records into the page.

Supported TYPO3 versions:

Version history

Version Upload comment Works with TYPO3 Download
4.1.0 / stable
April 13, 2025
[FEATURE] Add option to disable check for hidden headers

By default, links to a content element with hidden header will not use a given human-readable fragment. This is because the intended use case of this extension are anchors on heading elements.

The new setting "checkForHiddenHeaders" allows to disable this check. The TYPO3 administrator or integrator is then responsible to provide a suitable Fluid layout for content elements that renders the "{fragmentIdentifier}" at a different HTML tag.
12.4.0 - 13.4.99 Download
4.0.0 / stable
July 07, 2024
[FEATURE] Support Site Sets
[TASK] Replace RequireJS with ES6 modules
[TASK] Support TYPO3 v13
12.4.0 - 13.4.99 Download
3.1.1 / stable
May 26, 2024
[BUGFIX] Check for given request before modifying fragment links (thanks to @tastendruecker for the report)
11.5.0 - 12.4.99 Download
3.1.0 / stable
July 29, 2023
[BUGFIX] Localize fragmentIdentifier in RTE and TCA type inputlink
[TASK] Avoid use of TBE_EDITOR and inline JavaScript
11.5.0 - 12.4.99 Download
3.0.2 / stable
March 22, 2023
[BUGFIX] Remove superfluous property assignments (thanks to Elias Häußler)
11.5.0 - 12.4.99 Download
3.0.1 / stable
February 25, 2023
[BUGFIX] Fix PHP 8.1 warning in hook and event listener
[BUGFIX] Check if content element exists in hook and event listener (thanks to @DavidR93)
11.5.0 - 12.4.99 Download
3.0.0 / stable
January 29, 2023
[TASK] Support TYPO3 v12
[!!!][FEATURE] Allow using header field as fragment source
11.5.0 - 12.4.99 Download
2.2.0 / stable
July 29, 2023
[BUGFIX] Localize fragmentIdentifier in RTE and TCA type inputlink
10.4.0 - 11.5.99 Download
2.1.2 / stable
March 23, 2023
[BUGFIX] Remove superfluous property assignments
10.4.0 - 11.5.99 Download
2.1.1 / stable
February 25, 2023
[BUGFIX] Fix PHP 8.1 warning in hook
10.4.0 - 11.5.99 Download
2.1.0 / stable
September 25, 2021
[TASK] Switch to Symfony dependency injection (DI)
[TASK] Support TYPO3 version 11.5 LTS
10.4.0 - 11.5.99 Download
2.0.2 / stable
September 15, 2021
[TASK] Support TYPO3 version 11.4
8.7.0 - 11.4.99 Download
2.0.1 / stable
August 21, 2021
[TASK] Support TYPO3 version 11.3
8.7.0 - 11.3.99 Download
2.0.0 / stable
May 14, 2021
[!!!][FEATURE] Support RTE and TCA fields; provide TypoScript setup to configure prefix/suffix

Release notes: https://www.sebkln.de/en/news/content-slug-v2-0-0/
8.7.0 - 11.2.99 Download
1.2.0 / stable
March 20, 2021
[FEATURE] Add button to generate anchor from header field
8.7.0 - 11.1.99 Download
1.1.1 / stable
February 25, 2021
[TASK] Support TYPO3 version 11.1
8.7.0 - 11.1.99 Download
1.1.0 / stable
April 02, 2020
[FEATURE] Immediate validatation of fragment field value (via JavaScript)
8.7.0 - 10.4.99 Download
1.0.0 / stable
March 04, 2020
Initial release.
8.7.0 - 10.4.99 Download