Actions
Bug #79922
closedfluid widget paginate - pagination links take no action
Start date:
2017-02-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
fluid widget paginate
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hello,
I use the Introduction Package to generate menu of subpages and sub-subpages..
<f:section name="Main"> <ul class="taxRaw whiteBgShadow"> <f:render section="Menu" arguments="{menu: menu}"/> </ul> </f:section> <f:section name="Menu"> <f:if condition="{menu}"> <f:for each="{menu}" as="page" iteration="iteration"> <f:if condition="{page.children}"> <f:then> <f:render section="Menu" arguments="{menu: page.children}"/> </f:then> <f:else> <f:render partial="MenuItem" arguments="{page: page, cycle: iteration.cycle, total: iteration.total}"/> </f:else> </f:if> </f:for> </f:if> </f:section>
This works fine. I get a unpaginated list of links with page title, lets say 20 items.
If I now wrap the paginate widget, like:
<f:section name="Main"> <ul class="taxRaw whiteBgShadow“> <f:widget.paginate objects="{menu}" as="paginatedMenu" configuration="{itemsPerPage: 5, insertAbove: 1, insertBelow: 0, maximumNumberOfLinks: 7 }"> <f:render section="Menu" arguments="{menu: paginatedMenu}“/> </f:widget.paginate> </ul> </f:section>
It generates a correct list of 5 items and above numbered links for pagination, with example href=index.php?id=68&tx__[@widget_0][currentPage]=3&cHash=ba…
BUT if i hit one of that pagination links, it turns me always on same first page.
Actions