Project

General

Profile

Actions

Feature #89875

open

slug config options should be configurable via TSConfig

Added by Christoph Runkel over 4 years ago. Updated over 2 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2019-12-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.2
Tags:
slug backeend pages tca tceform
Complexity:
easy
Sprint Focus:

Description

I would recommend to make some of the slug field options configurable via TSCONFIG

At least one Change would be required in sysext/backend/Classes/Form/Utility/FormEngineUtility.php

protected static $allowOverrideMatrix = [
'input' => ['size', 'max', 'readOnly'],
'text' => ['cols', 'rows', 'wrap', 'max', 'readOnly'],
'check' => ['cols', 'readOnly'],
'select' => ['size', 'autoSizeMax', 'maxitems', 'minitems', 'readOnly', 'treeConfig'],
'group' => ['size', 'autoSizeMax', 'max_size', 'maxitems', 'minitems', 'readOnly'],
'inline' => ['appearance', 'behaviour', 'foreign_label', 'foreign_selector', 'foreign_unique', 'maxitems', 'minitems', 'size', 'autoSizeMax', 'symmetric_label', 'readOnly'],
'imageManipulation' => ['ratios', 'cropVariants'],
//NEW
'slug' => ['fallbackCharacter','generatorOptions','prependSlash']
];

This would result in an easy configuration of slug options via TSCONFIG f.e.

TCEFORM.pages.slug.config.fallbackCharacter=_
TCEFORM.pages.slug.config.generatorOptions.prefixParentPageSlug=0

Christoph


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #88322: Allow the overwriting of the slug field via PageTSClosed2019-05-09

Actions
Actions #1

Updated by Benni Mack over 3 years ago

  • Related to Feature #88322: Allow the overwriting of the slug field via PageTS added
Actions #2

Updated by Benni Mack over 2 years ago

  • Status changed from New to Accepted
  • Target version changed from Candidate for patchlevel to Candidate for Major Version

sounds reasonable

Actions

Also available in: Atom PDF