[TYPO3-english] extbase - Paginator
Hans-Peter M.
istbanane at googlemail.com
Sat Jun 1 11:32:30 CEST 2013
Hello,
i would like to use the pagination widget in my extension.
I need for this an additional parameter.
e.g. (actionArguments).
<f:widget.paginate objects="{soccer}" as="player"
configuration="{itemsPerPage: 2, insertAbove: 0, insertBelow: 1,
maximumNumberOfLinks: 10}" actionArguments="{filter}">
There were two files created:
Classes => ViewHelpers => Widget => Controller => PaginateController.php
class Tx_Myext_ViewHelpers_Widget_Controller_PaginateController extends
Tx_Fluid_Core_Widget_AbstractWidgetController {
}
Classes => ViewHelpers => Widget => PaginateViewHelper.php
class Tx_Myext_ViewHelpers_Widget_PaginateViewHelper extends
Tx_Fluid_ViewHelpers_Widget_Controller_PaginateController {
}
Now i got in the frontend an error from fluid:
Argument "actionArguments" was not registered.
How can i solve this?
The second thing is to implement an own template.
Can anyone help me?
regards
Hans-Peter
More information about the TYPO3-english
mailing list