Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-news-bundle
Contao news bundle with additional functionaliy like tags support.
https://github.com/heimrichhannot/contao-news-bundle
Last synced: about 1 month ago
JSON representation
Contao news bundle with additional functionaliy like tags support.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-news-bundle
- Owner: heimrichhannot
- Created: 2017-07-21T09:21:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T15:50:40.000Z (7 months ago)
- Last Synced: 2024-10-29T01:25:48.548Z (about 2 months ago)
- Language: PHP
- Size: 559 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Contao News Bundle
> This bundle is deprecated! Don't use is anymore. Version 4 is intended to removed feature one by one.
> New minor versions will remove features, so stick to bugfix versions if you need to use version 4.
>
> - Version 4.1: Removed social stats ([#3])
> - Version 4.0: Removed codefog/tags-bundle supportThis module contains enhancements for the contao news entity. It works with Contao 4 (and higher).
## Replacements:
- List-/Readersupport: [Contao News List Reader Bundle](https://github.com/heimrichhannot/contao-news-list-reader-bundle)
- Social stats: [Social Stats Bundle](https://github.com/heimrichhannot/contao-social-stats-bundle)## Features
* [List Bundle](https://github.com/heimrichhannot/contao-list-bundle) and [Reader Bundle](https://github.com/heimrichhannot/contao-reader-bundle) support through [Contao News List Reader Bundle](https://github.com/heimrichhannot/contao-news-list-reader-bundle)
* news navigation
* custom palettes for news archives### News lists
- prevent duplicate content for news lists with multiple pages by setting `` an all pages except first and adding `` and/or `` of next or prev page exists (See: [Indicate paginated content
](https://support.google.com/webmasters/answer/1663744?hl=en))
- define "news lists" for filtering the news to be displayed in the ordinary NewsList module (new back end entity)### Info box
An info box is a widget that can be rendered within a news article.
The default info box comes with headline, text (wysiwyg), hyperlink and hyperlink text fields.
Use `##news_info_box##` within your news content elements / details (tl_content) to render the box content.### News navigation
Navigate between news articles. You can go to the next (newer) or the previous (older) article direct from a news article. Respect filters set by the user.
## Technical instructions
### News navigation
To activate news navigation, you need to create a `newsnavigation` module and configure it with a `newslist` module. And you need to add set the `newsnavigation` module in the `newsreader` module. Don't add the module to an article, as this won't work, instead a template variable with the navigation is added to the news article template.
### Modules
Name | Description
-------------- | -----------
newsnavigation | Create the news navigation. Respect filters set by the `newslist_filter` module. To be used in combination with `newslist` module and `newsreader` module.### Insert Tags
Name | Description | Arguments | Example
---- | ----------- | --------- | -------
news_list | prints the link to a certain news list | id or alias of a news list | {{news_list::1}}
news_list_url | prints the url to a certain news list | id or alias of a news list | {{news_list_url::1}}
news_list_title | prints the title of a certain news list | id or alias of a news list | {{news_list_title::1}}## More
### Extension
[Contao News Leisure Bundle](https://github.com/heimrichhannot/contao-news-leisure-bundle) - Add Leisure tipps to news[#3]: https://github.com/heimrichhannot/contao-news-bundle/pull/3