typo3

How to extend TYPO3 Site Configuration without editing config/sites/mysite/config.yaml

為{幸葍}努か 提交于 2020-08-22 06:09:26
问题 I'm trying to set up an REST like API with TYPO3 and the new RouteEnhancers that are available since TYPO3 v9. For my case I need to setup/extend the Site Configuration through my extension instead of editing the config.yaml because you don't want to copy some code after you installed the extension or created a new Site Configuration. Is there a best practice solution for this case? routeEnhancers: MyExtensionlugin: type: Extbase extension: MyExtension plugin: Listing routes: - { routePath: '

Disable Routing in TYPO3 9

青春壹個敷衍的年華 提交于 2020-08-17 12:17:24
问题 I have 3 Sites on a development server in one TYPO3 Instance with one domain. No option to create another subdoamin. Routing doesnt work because some of the pages have the same names. For now I would like to simply disable routing and work with page IDs but I can not find a setting for this. So - how can I disable routing in TYPO3 9? Thank you. 回答1: There is no option to disable routing. You should think about adding an entry to your etc/hosts file to add a custom domain and use that one. 来源: