heimrichhannot/contao-news-pagination-bundle

This bundle offers content pagination for the news reader.

2.2.1 2020-06-18 12:08 UTC

This package is auto-updated.

Last update: 2021-01-18 13:44:47 UTC


README

This bundle offers automatic content pagination for the core news reader module and the heimrichhannot/contao-reader-bundle.

Features

  • add a pagination for navigating between the news parts
  • automatic splitting
    • split news articles by an adjustable character amount respecting html tags
  • manual splitting
    • split news content by wrapping the content elements in special start and stop content elements

Technical instructions

  1. Activate "addPagination" in your news reader module and do the configuration there.
  2. Add <?= $this->newsPagination ?> to your details template (e.g. "news_full").

Known limitations for automatic pagination

  • currently only ce_text not nested in another content element (like an accordion) is supported for splitting, other elements are removed properly according to current page number though (completely)