TYPO3CMS-Reference-CoreApi
TYPO3CMS-Reference-CoreApi copied to clipboard
Document how to create custom navigation component for module (replacing page tree)
The flow is as follows:
- register a new module https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Feature-82426-NewNavigationModuleRegistrationEgPageTree.html
- create a controller with action which will be called with ajax by the new navigation component
- create a JS component (the one used in module registration, which will inherit from the core svgtree or PageTree
References:
-
The new way how you can register custom nav components in your module (n v9) https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Feature-82426-NewNavigationModuleRegistrationEgPageTree.html
-
working example of a module using this approach https://github.com/wmdbMattes/linkvalidator/commits/add-pagetree-rebase
-
https://docs.typo3.org/c/typo3/cms-core/10.2/en-us/Changelog/8.3/Feature-76108-ReplaceExtJSCategoryTreeWithD3AndSVG.html
could you make a PR about this, @tmotyl ?
@linawolf This will also need to incorporate changes which are landing in v11 e.g. https://review.typo3.org/c/Packages/TYPO3.CMS/+/68201
No action in years