TYPO3CMS-Reference-CoreApi icon indicating copy to clipboard operation
TYPO3CMS-Reference-CoreApi copied to clipboard

Document how to create custom navigation component for module (replacing page tree)

Open tmotyl opened this issue 5 years ago • 2 comments

The flow is as follows:

  1. register a new module https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Feature-82426-NewNavigationModuleRegistrationEgPageTree.html
  2. create a controller with action which will be called with ajax by the new navigation component
  3. 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

tmotyl avatar May 20 '20 16:05 tmotyl

could you make a PR about this, @tmotyl ?

linawolf avatar Jan 24 '21 18:01 linawolf

@linawolf This will also need to incorporate changes which are landing in v11 e.g. https://review.typo3.org/c/Packages/TYPO3.CMS/+/68201

tmotyl avatar Mar 08 '21 12:03 tmotyl

No action in years

linawolf avatar Feb 09 '25 10:02 linawolf