Slug generation: Fallback fields seems not to work
Target: We want to use pages.nav_title for slug generation of pages and if nav_title is empty, title should be used instead.
Luckily there is a good documentation that describes this scenario exactly:
Problem: If pages.nav_title and pages.title is filled and the slug will be regenerated, values of both fields are used to fill the slug.
If I follow the recommendation, this TCA should work as described:
$GLOBALS['TCA']['pages']['columns']['slug']['config']['generatorOptions']['fields'] = ['nav_title', 'title'];
The complete TCA for pages.slug:
#2 Updated by Georg Ringer about 1 month ago
- Status changed from New to Closed
thanks, opened issue https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TCA/issues/244