heimrichhannot / contao-news-leisure-bundle
An extension for Contao News Bundle to add Leisure tipps to news.
Installs: 404
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ~7.0||^8.0
- contao/core-bundle: ~4.4
- heimrichhannot/contao-fieldpalette-bundle: 0.*||1.*
- heimrichhannot/contao-utils-bundle: ^2.120
Requires (Dev)
- contao/manager-plugin: ^2.0
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ^4.5
- satooshi/php-coveralls: ^1.0
- symfony/phpunit-bridge: ^2.8|^3.0
Suggests
- heimrichhannot/contao-google-maps-bundle: ^1.2
- heimrichhannot/contao-news-bundle: ^3.0-beta: Enhancements for contao news entity. Support for custom news palettes used in this bundle,
- heimrichhannot/contao-news-list-reader-bundle: ^1.0: Comes with heimrichhannot/contao-news-bundle. Support for list and reader bundle. Needed for List and Reader Support of this bundle.
This package is auto-updated.
Last update: 2024-12-08 14:57:58 UTC
README
This bundle extends the contao news entity with leisure tipps.
Features
- custom palettes for News Bundle
- Items and Trait for List Bundle and Reader Bundle
- upload kml files and display on a map with Google Maps Bundle
- generate coordinates for addresses
Usage
Install
composer require heimrichhannot/contao-news-leisure-bundle
You need to update the database after install.
Setup
Add palettes to your news entity
With News Bundle
Go to news archives and select 'leisuretip' or 'leisuretip_stage' as palette.
Without news bundle
Add leisuretip
or leisuretip_stage
palette content by yourself to your tl_news palette.
List/Reader Bundle
Select news_leisure
item class or add NewsLeisureItemTrait
to your custom item class.
Coordinates calculation
Set your google maps api key in contao settings.