[FEATURE] Configure section for pagination widget
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-66070-ConfigureSectionForPaginationWidget.rst
1 ========================================================
2 Feature: #66070 - Configure anchor for pagination widget
3 ========================================================
4
5 Description
6 ===========
7
8 This feature allows to add a key "section" to the configuration of a fluid pagination widget. The anchor gets appended to every link of the pagination widget. The "widget.link" viewHelper used by the pagination widget already supports this.
9
10 Examples
11 --------
12
13 The following example will render the page browser having a section parameter "#archive" appended to every link
14
15 .. code-block:: html
16
17 <f:widget.paginate objects="{plantpestWarnings}" as="paginatedWarnings" configuration="{section: 'archive', itemsPerPage: 10, insertAbove: 0, insertBelow: 1, maximumNumberOfLinks: 10}">
18 [...]
19 </f:widget.paginate>
20
21
22 Impact
23 ======
24
25 If the "section" attribute does not get specified or no configuration is supplied at all then no section parameter (#section) will get appended to the links and the pagination widget behaves as usual.