Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-news_pagination
https://github.com/heimrichhannot/contao-news_pagination
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-news_pagination
- Owner: heimrichhannot
- Created: 2017-07-31T12:09:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T14:10:22.000Z (almost 6 years ago)
- Last Synced: 2024-05-17T23:02:15.364Z (7 months ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# News Pagination
This module offers manual content pagination for the news reader.
## Features
- add a pagination for navigating between the news parts
- manual splitting
- split news content by wrapping the content elements in special start and stop content elements
- automatic splitting
- split news articles by an adjustable character amount considering html tags### Technical instructions
1. Activate "addPagination" in your news reader module.
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 accordeon) is supported for splitting, other elements are removed properly according to current page number though (completely)