Skip to content

Commit 5f16600

Browse files
committed
fix: use 'tools' parent for v13 compatibility
The 'admin' module group was introduced in TYPO3 v14. On v13, only 'tools' exists as the admin tools parent module. Using 'admin' causes the LLM modules to silently fail to register on v13. Change to 'tools' which works on both versions: - v13: 'tools' exists natively - v14: 'tools' is an alias for 'admin' Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent 1644da4 commit 5f16600

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Configuration/Backend/Modules.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
/**
1818
* Backend module registration for nr_llm.
1919
*
20-
* Structure: Main module under 'admin', sub-modules as children of main module.
20+
* Structure: Main module under 'tools', sub-modules as children of main module.
2121
* Sub-modules only appear in docheader dropdown, not in main navigation.
2222
*
23+
* Uses 'tools' as parent for v13+v14 compatibility:
24+
* - v13: 'tools' exists natively as the admin tools group
25+
* - v14: 'tools' is an alias for the new 'admin' group
26+
*
2327
* Pattern follows TYPO3 Styleguide extension:
2428
* - Main module identifier without prefix (e.g., 'nrllm' not 'tools_nrllm')
2529
* - Child modules with parent as prefix (e.g., 'nrllm_providers')
@@ -28,7 +32,7 @@
2832
return [
2933
// Main dashboard module (parent container)
3034
'nrllm' => [
31-
'parent' => 'admin',
35+
'parent' => 'tools',
3236
'position' => ['after' => 'styleguide'],
3337
'access' => 'admin',
3438
'iconIdentifier' => 'module-nrllm',

0 commit comments

Comments
 (0)