############## ### Extension Manager/Repository config file for ext "gbhl_bootstrap". ### ### Auto generated 22-12-2021 22:19 ### ### In the ext_conf_template.txt file configuration options for an extension can ### be defined. They will be accessible in the TYPO3 backend from the Extension ### Manager. ### ### There's a specific syntax to declare these options properly, which is similar ### to the one used for TypoScript constants (see "Declaring constants for the ### Constant editor" in "TypoScript Syntax and In-depth Study"). This syntax applies ### to the comment line that should be placed just before the constant. Consider ### the following example (taken from system extension "rsaauth"): ### # cat=basic/enable; type=string; label=Path to the temporary directory:This directory will contain... ### temporaryDirectory = ### ### First a category (cat) is defined ("basic") with the subcategory "enable". ### Then a type is given ("string") and finally a label, which is itself split ### (on the colon ":") into a title and a description (this should actually be a ### localized string) ### ### The configuration tab displays all options from a single category. A selector ### is available to switch between categories. Inside an option screen, options are ### grouped by subcategory. At the bottom of the screenshot, the label – split between ### header and description – is visible. Then comes the field itself, in this case ### an input, because the option's type is "string". ### ### Once you saved the configuration in the ExtensionManager, it will be stored ### in $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['your_extension_key'] as a ### serialized array. ### ### To fetch the value of temporaryDirectory from the example above, you could simply use: ### $extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['your_extension_key']); ### $temporaryDirectory = $extensionConfiguration['temporaryDirectory']; ### ### Or even better use the API to get the information merged with the default settings ### if the settings have not been saved yet: ### $configurationUtility = $this->objectManager->get('TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility'); ### $extensionConfiguration = $configurationUtility->getCurrentConfiguration('themes'); ### ### You can also define nested options using the TypoScript notation: ### directories { ### # cat=basic/enable; type=string; label=Path to the temporary directory ### tmp = ### # cat=basic/enable; type=string; label=Path to the cache directory ### cache = ### } ### ### This will result in a multidimensional array: ### $extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['your_extension_key']); ### $extensionConfiguration['directories.']['tmp'] ### $extensionConfiguration['directories.']['cache'] ### ############## # customcategory=backend_styling=LLL:EXT:lex_bootstrap/Resources/Private/Language/locallang_ext_conf.xlf:cat.backend_styling # customsubcategory=0=LLL:EXT:lex_bootstrap/Resources/Private/Language/locallang_ext_conf.xlf:subcat.login # customsubcategory=10=LLL:EXT:lex_bootstrap/Resources/Private/Language/locallang_ext_conf.xlf:subcat.backend ####################### ### BACKEND STYLING ### ####################### ### LOGIN # cat=backend_styling/0/0; type=string; label=LLL:EXT:gbhl_distribution/Resources/Private/Language/locallang_ext_conf.xlf:backend_styling.login.loginLogo loginLogo = EXT:gbhl_distribution/Resources/Public/Images/GBHLLogo.svg # cat=backend_styling/0/10; type=color; label=LLL:EXT:gbhl_distribution/Resources/Private/Language/locallang_ext_conf.xlf:backend_styling.login.loginHighlightColor loginHighlightColor = # cat=backend_styling/0/20; type=string; label=LLL:EXT:gbhl_distribution/Resources/Private/Language/locallang_ext_conf.xlf:backend_styling.login.loginBackgroundImage loginBackgroundImage = EXT:bootstrap_package/Resources/Public/Images/Backend/login-background-image.jpg # cat=backend_styling/0/30; type=string; label=LLL:EXT:gbhl_distribution/Resources/Private/Language/locallang_ext_conf.xlf:backend_styling.login.loginFootnote loginFootnote = ### BACKEND # cat=backend_styling/10/0; type=string; label=LLL:EXT:gbhl_distribution/Resources/Private/Language/locallang_ext_conf.xlf:backend_styling.backend.backendLogo backendLogo = EXT:gbhl_distribution/Resources/Public/Images/GBHLLogo.svg # cat=backend_styling/10/10; type=string; label=LLL:EXT:gbhl_distribution/Resources/Private/Language/locallang_ext_conf.xlf:backend_styling.backend.backendFavicon backendFavicon = EXT:gbhl_distribution/Resources/Public/Icons/favicon.ico