Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not clear which fields can be used for user settings (TYPO3_USER_SETTINGS) #455

Open
sypets opened this issue Sep 10, 2024 · 0 comments
Open

Comments

@sypets
Copy link
Contributor

sypets commented Sep 10, 2024

Current behavior

In "Extending the user settings", it is not clear what array keys are available in $GLOBALS['TYPO3_USER_SETTINGS']['columns']['myfield']. While it is similar to TCA, it is different (e.g. in user settings configuration "label" and "type" is on same level, in TCA "type" is in subarray "config")

Expected behavior/output

List of fields which can be used in $GLOBALS['TYPO3_USER_SETTINGS']['columns']['myfield'] (or information how one can figure this out yourself).

Possibly, all fields available under "config" (for the supplied type) can be used.

Links

TYPO3 versions

  • main, v12, ...

Additional context

In the docs example following fields are used:

  • label
  • type
  • table

Additionally, the following works

  • default
  • max (is used in "email" in core)
  • itemsProcFunc (used in newsoverlay in EXT:news)
  • buttonlabel, confirm, confirmData (used in resetConfiguration)
  • ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant