Project

General

Profile

Actions

Bug #79922

closed

fluid widget paginate - pagination links take no action

Added by René Schäfer almost 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #79430: Make pagination possible without Extbase environmentClosed2017-01-23

Actions
Related to TYPO3 Core - Bug #80176: fluid widget paginate - pagination links take no actionRejected2017-03-07

Actions
Related to TYPO3 Core - Task #92529: Remove fluid widgetsClosed2020-10-09

Actions
Actions

Also available in: Atom PDF