An open API service indexing awesome lists of open source software.

https://github.com/b13/newspage


https://github.com/b13/newspage

Last synced: 12 months ago
JSON representation

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