Bug #105694
openExtension settings: customcategory label not used
0%
Description
In ext_conf_template.txt
the same syntax should be applicable as in the constants editor (according to the core documentation). But labeling a customcategory as described for the constant editor doesn't seem to work anymore in the extension settings since v12.
The "tricks" described in #100936 don't work for me (e.g. adding an empty line afterwards) in the extension settings editor. The labels used for displaying the tabs (i.e. the customcategories) are simply the customcategory name (with ucfirst()
applied in v12). This also happens in v13 LTS. In v11 LTS it worked fine.
The labels of customsubcategories are ok.
Example:
# customcategory=api=LLL:EXT:myext/Resources/Private/Language/locallang.xlf:extconf.api
# customsubcategory=baseurl=LLL:EXT:myext/Resources/Private/Language/locallang.xlf:extconf.baseurl
# cat=api/baseurl/a; type=string; label=Files API
filesApi = /api/v1/files/
# cat=api/baseurl/b; type=string; label=Mails API
mailsApi = /api/v1/mails/
The label for customcategory is not shown, but simply "Api" (or "api" in v13LTS), while the label for customsubcategory is shown correctly.
Updated by Georg Ringer 12 days ago
- Related to Bug #100936: Label for custom category in constant editor is not used added
Updated by Garvin Hicking 11 days ago
- Status changed from New to Closed
Hi Michael,
thanks for your Feedback. I believe this is the same information that is tracked in https://forge.typo3.org/issues/100936 so I'd like to close this issue as a duplicate. Please feel free to add your comments in the existing issue.
Thanks!
Updated by Michael Stopp 11 days ago
I don't think that the problem I describe in my issue is the same as in #100936. I first considered just adding a comment to #100936, but then decided to create a new issue, because the two situations (TS constant editor vs. extension settings) behave differently, despite using the same syntax.
In the same TYPO3 installation, where I encountered this problem with the extension settings, we also have a site package that uses lots of customcategories + customsubcategories for defining all sorts of TS constants. This all works fine and all the labels are displayed correctly. (Which means that I can't really reproduce the problems described in #100936 for the latest v12 versions).
But the identical use of customcategory + customsubcategory (in terms of syntax) in ext_conf_template.txt
does not work for me in the same v12 TYPO3 installation (while it did in v11 LTS). It's also a different situation, because customcategories in the extension settings are translated into tabs, which is not the case for the constant editor. I therefore think this is a related but different issue.
Updated by Garvin Hicking 11 days ago
- Status changed from Closed to New
Understood. Reopening, haven't verified this yet.