This bundle extends the contao news entity with leisure tipps.
- 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
composer require heimrichhannot/contao-news-leisure-bundle
You need to update the database after install.
Go to news archives and select 'leisuretip' or 'leisuretip_stage' as palette.
Add leisuretip
or leisuretip_stage
palette content by yourself to your tl_news palette.
Select news_leisure
item class or add NewsLeisureItemTrait
to your custom item class.
Set your google maps api key in contao settings.