https://github.com/b13/newspage
https://github.com/b13/newspage
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/b13/newspage
- Owner: b13
- License: gpl-2.0
- Created: 2021-04-13T10:28:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T12:17:18.000Z (almost 2 years ago)
- Last Synced: 2024-11-12T23:35:27.837Z (over 1 year ago)
- Language: PHP
- Size: 157 KB
- Stars: 5
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Newspage
This extension provides a new doktype to be used for news that need to have flexible content, e.g. `tt_content` elements.
The new doktype that is registered is `doktype=24`.
## Plugins
This extension registers 3 Plugins:
- list
- this plugin shows a list of all news, optionally filtered by a value selected in the plugin, and optionally a frontend filter can be displayed
- recent
- teaser
## Filters
This plugin comes with a couple of filters pre-shipped:
- Category: both as a backend filter and front end filter
- Categories: a front end filter that allows multiple categories to be selected
- this filter combines the selected categories using an **or** operation
- Date: a front end filter that filters by year and month
### Custom Filters
If you want to create your own filters, you can register them in your `ext_localconf.php` with the following call
```php