Skip to content

Instantly share code, notes, and snippets.

@kitsunet
Forked from svparijs/Exception Error message
Created July 12, 2012 12:41
Show Gist options
  • Save kitsunet/3097867 to your computer and use it in GitHub Desktop.
Save kitsunet/3097867 to your computer and use it in GitHub Desktop.
Routing setup
Currently registered routes:
1. {node}/service/{--typo3_typo3_typoscript_plugin.solution}.html Solutions :: Tryweb.Solutions Show Solution
2. typo3/login(/{@action}.{@format}) TYPO3 :: Authentication
3. typo3/logout TYPO3 :: Logout
4. typo3 TYPO3 :: Backend Overview
5. typo3/content/imageWithMetadata/{image} TYPO3 :: Backend - Content Module - Images
6. typo3/content/{@action} TYPO3 :: Backend - Content Module
7. typo3/{module} TYPO3 :: Backend - Modules
8. typo3/{module}/{moduleArguments} TYPO3 :: Backend - Modules & arguments
9. {node}.html/{type} TYPO3 :: Frontend content with format and type
10. {node}.html TYPO3 :: Frontend content with (HTML) format
11. ({node}) TYPO3 :: Frontend content without a specified format
Information for route 1:
Name: Solutions :: Company.Solutions Show Solution
Pattern: {node}/service/{solution}.html
Defaults:
- @package => TYPO3.TYPO3
- @controller => Frontend\Node
- @format => html
- @action => show
- --typo3_typo3_typoscript_plugin => Array
Append: FALSE
# #
# Default subroutes configuration for the Solutions package #
# #
##
# Show Solution
-
name: 'Tryweb.Solutions Show Solution'
uriPattern: '{node}/service/{--typo3_typo3_typoscript_plugin.solution}.html'
defaults:
'@package': 'TYPO3.TYPO3'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
appendExceedingArguments: true
routeParts:
node:
handler: TYPO3\TYPO3\Routing\FrontendNodeRoutePartHandler
'--typo3_typo3_typoscript_plugin.solution':
objectType: Tryweb\Solutions\Domain\Model\Solution
uriPattern: '{name}'
# #
# Default subroutes configuration for the Solutions package #
# #
##
# Show Solution
-
name: 'Company.Solutions Show Solution'
uriPattern: '{node}/service/{--typo3_typo3_typoscript_plugin.solution}.html'
defaults:
'@package': 'TYPO3.TYPO3'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--typo3_typo3_typoscript_plugin':
'@package': 'Company.Solutions'
'@controller': 'Solution'
'@action': 'show'
routeParts:
node:
handler: TYPO3\TYPO3\Routing\FrontendNodeRoutePartHandler
'--typo3_typo3_typoscript_plugin.solution':
objectType: Company\Solutions\Domain\Model\Solution
uriPattern: '{category.name}/{name}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment