Skip to content

Instantly share code, notes, and snippets.

@radmiraal
Created July 10, 2014 19:20
Show Gist options
  • Save radmiraal/8d68190e4d8de98ed865 to your computer and use it in GitHub Desktop.
Save radmiraal/8d68190e4d8de98ed865 to your computer and use it in GitHub Desktop.
Routing configuration for the TYPO3.TYPO3CR paginate viewhelper in a TYPO3 Neos nodetype
-
name: 'Search paginate'
uriPattern: '{node}/{--typo3-typo3cr-viewhelpers-widget-paginateviewhelper.currentPage}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--typo3-typo3cr-viewhelpers-widget-paginateviewhelper':
'@package': ''
'@subpackage': ''
'@controller': ''
'@action': 'index'
'currentPage': '1'
routeParts:
node:
handler: TYPO3\Neos\Routing\FrontendNodeRoutePartHandler
appendExceedingArguments: TRUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment