Feature #89573

Allow removal of baseUrl in backend for slug fields

Added by Sebastian Müller 18 days ago. Updated 11 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-11-04
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If field type slug is used in custom records (e.g. news), it is missleading that the baseUrl is shown before the slug field and in the update notice ("Congrats ...."),
since the final URL may vary based on routeEnhancer.

since the baseUrl is not saved in the slug field itself, I think it should be possible to stop the baseUrl from being prepended.

slug-content: "news-1"
will be displayed as: "https://domain.de" "news-1"

Not sure if it is better to have $baseUrl empty or change both occurences to check for configuration.

slug-field-base-url.png View (5.52 KB) Sebastian Müller, 2019-11-04 08:33

addPossibilityToHideBaseUrlFromSlugField.patch View (1.17 KB) Sebastian Müller, 2019-11-04 08:49


Related issues

Related to TYPO3 Core - Feature #89574: Translate slug update messages Under Review 2019-11-04
Related to TYPO3 Core - Bug #86532: Issues with slugs & records Rejected 2018-10-01

History

#1 Updated by Sebastian Müller 18 days ago

#2 Updated by Gerrit Code Review 11 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62270

#3 Updated by Georg Ringer 10 days ago

  • Related to Bug #86532: Issues with slugs & records added

Also available in: Atom PDF