Project

General

Profile

Actions

Epic #89107

closed

Introduce Site Settings

Added by Susanne Moog over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-09-06
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Sprint Focus:

Description

Site settings should provide a possibility to configure site-wide settings (for example storage PIDs) for use in all contexts. This allows for setting e.g. storagePid in site settings so they can be used for Backend modules and the same value also in TypoScript setup (as constants).

In addition, all site settings can be put in VCS as they are configuration (similar to site configuration already) but overriden by integrators in the database via Constants for FE.

Prerequisites:

  • Existing site

Starting point: Sites module

  • A site has a new button "edit settings" to reach the site settings module
  • The site settings module has the same interface as the constant editor / extension configuration (can be refactored to a different syntax at a later point - we want to keep settings in the same format and switch to yaml for constants and site settings in one step, providing a fallback to the legacy syntax; as step one: make reusing of constant editor files/config possible)
  • The site settings get read and written to a file called "settings.yaml" next to the corresponding sites config.yaml (similar to how constants are saved)
  • The site settings are readable / accessible via the sites object (and in all cases where that is accessible)
  • The site settings interface is build from various Settings.typoscript configuration files provided by extensions in Configuration/Site/Settings.typoscript (these contain the interface definitions - see constants for syntax)
  • When starting to parse TypoScript constants (TemplateService), all configuration values of the site settings are applied BEFORE the actual constants, so constants can overrule Site Settings.
Further steps:
  • Make site settings language aware
  • Add possibility to restrict an extensions site settings to specific sites only (question to be discussed: should we implement a general possibility to load extensions based on the current site?)
Additional Info:
  • Benjamin Kott is working on a revamp of the constant editor configuration format / gui - which can then be used for both site settings and constants

Subtasks 4 (0 open4 closed)

Feature #89102: Read settings for sites from <config>/sites/<siteIdentifier>ClosedAnja Leichsenring2019-09-06

Actions
Task #89134: Fetch site setting files from extensions and provide default site settings per siteClosed2019-09-10

Actions
Task #89277: Revert 'Fetch site setting files from extensions and provide default site settings per site'Closed2019-09-25

Actions
Task #89278: Revert 'Read settings for sites from <config>/sites/<siteIdentifier>'Closed2019-09-25

Actions

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #91080: Populate site settings to TypoScript constantsClosedBenni Mack2020-04-17

Actions
Actions #1

Updated by Susanne Moog over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Susanne Moog over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Susanne Moog over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Benni Mack over 4 years ago

  • Description updated (diff)
Actions #5

Updated by Christian Eßl over 4 years ago

  • Category set to Link Handling, Site Handling & Routing
Actions #6

Updated by Susanne Moog about 4 years ago

  • Status changed from New to Closed

Closed until we are going to revisit the whole configuration topic again.

Actions #7

Updated by Markus Klein about 4 years ago

  • Related to Feature #91080: Populate site settings to TypoScript constants added
Actions

Also available in: Atom PDF