heimrichhannot/contao-news-leisure-bundle

An extension for Contao News Bundle to add Leisure tipps to news.

1.0.0 2019-11-13 13:46 UTC

README

Latest Stable Version Total Downloads

This bundle extends the contao news entity with leisure tipps.

Features

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.