Task #87027
closedHow to extend/use the site language configuration with custom fields
100%
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.
Updated by Josef Glatz almost 6 years ago
- Related to Feature #85592: Move site title to site module added
Updated by Gerrit Code Review almost 6 years 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/59025
Updated by Gerrit Code Review almost 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59025
Updated by Gerrit Code Review almost 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59025
Updated by Georg Ringer almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c220c97d227a6bca7b41cd3d4c1ba2cf47e0c5c5.