This extension sanitizes links created for the solr pagination template.
- Add the path to the "repositories" section within the project's composer.json
"repositories": [
{ "type": "vcs", "url": "https://github.com/supseven-at/solr-pagination-link.git" }
]
- Add the package to composer:
composer req supseven/solr-pagination-link
- Within your pagination template add the namespace of the viewhelper of this extension:
<html data-namespace-typo3-fluid="true"
xmlns:s="http://typo3.org/ns/Supseven/SolrPaginationLink/ViewHelpers">
- In the pagination template exchange all links with the following viewhelper:
{s:solrPaginationLink(page: '{page}')}
or
<s:solrPaginationLink page="{page}"/>
where {page}
is the current pagination link.