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

Add information about accessing TypoScript in extension #463

Open
2 of 5 tasks
sypets opened this issue Oct 5, 2021 · 0 comments
Open
2 of 5 tasks

Add information about accessing TypoScript in extension #463

sypets opened this issue Oct 5, 2021 · 0 comments

Comments

@sypets
Copy link
Contributor

sypets commented Oct 5, 2021

AFAIK, this information is currently missing. Information about how to access TypoScript can be added, similar to the information on the Flexform page.

todos

  • Access TypoScript from Extbase controllers
  • Access TypoScript from Fluid with Extbase controllers
  • Access TypoScript with Extbase, but outside of controller (with ConfigurationManager?)
  • Access TypoScript outside of Extbase
  • Access TypoScript with Fluid, without Extbase

Existing resources in TYPO3 documentation:

Existing resources outside of TYPO3 documentation

Open questions

  • should ConfigurationManager be used (and when?)
  • can this always be used? Is it recommended?

$GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_xxxx.']['settings.']['storagePid'];

https://stackoverflow.com/a/59598451/2444812

sypets added a commit to sypets/TYPO3CMS-Reference-Typoscript that referenced this issue Oct 5, 2021
The information about accessing TypoScript in extensions. This
patch adds the information for Extbase controllers (and refers
to existing documentation).

Information about how to access TypoScript outside of Extbase
controllers can be added in future patches.

Related: TYPO3-Documentation#463
sypets added a commit to sypets/TYPO3CMS-Reference-Typoscript that referenced this issue Oct 5, 2021
The information about accessing TypoScript is missing in
extensions. This patch adds the information for Extbase
controllers (and refers to existing documentation).

Information about how to access TypoScript outside of Extbase
controllers can be added in future patches.

Related: TYPO3-Documentation#463
tomwarwick added a commit that referenced this issue Oct 13, 2021
* Add information about accessing TypoScript

The information about accessing TypoScript is missing in
extensions. This patch adds the information for Extbase
controllers (and refers to existing documentation).

Information about how to access TypoScript outside of Extbase
controllers can be added in future patches.

Related: #463

* Update AccessTypoScriptWithExtensions.rst

Co-authored-by: Sybille Peters <sybille.peters@uni-oldenburg.de>
Co-authored-by: Tom Warwick <tom.warwick@typo3.org>
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