Project

General

Profile

Actions

Task #87027

closed

How to extend/use the site language configuration with custom fields

Added by Josef Glatz over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2018-11-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Status

Since #84581 extending the site configuration can be extended with own fields. Extending the site is possible and a generic getter which can be used like ->getConfiguration()['myNewField'].

While extending the site config itself works for some types of values, it's often necessary to add fields to site_language like a siteTitle, too. Extending the configuration works like a charm, so far.

How can I use the custom fields "on the website"?

A) How can I retrieve the value within TypoScript?
B) How can I retrieve the value within Fluid?
C) How can I retrieve the value within my own Class/Plugin/Controller?

From my perspective (by reading the code), that's actually not really possible.

Any suggestions, tipps, hints or even a plan how we can extend the core to make that possible would be nice. I can also help in coding if I get some mentoring in this area.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #85592: Move site title to site moduleClosedGeorg Ringer2018-07-19

Actions
Actions

Also available in: Atom PDF