Skip to content
Snippets Groups Projects
Commit 7a82fcd4 authored by Benni Mack's avatar Benni Mack Committed by Georg Ringer
Browse files

[FEATURE] Allow flexible base url for slug fields in FormEngine

Due to wrong prefixes of TCA type=slug fields for custom records
e.g. in ext:news, a new configuration `prefix` is introduced.

A `userFunc` can be assigned to the new field which then allows to
provide a custom base url based on e.g. the correct detail page.

The default behaviour, which is used for pages, is still applied,
when no custom base url is given.

Resolves: #89573
Releases: master
Change-Id: I529ff26ddeba200b56f0c23aca55daa187c3f40d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62270


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarJosef Glatz <josefglatz@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 76a0e00d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment