codefog / contao-events_subscriptions

Contao extension that allows members of your website to subscribe to the events
MIT License
10 stars 5 forks source link

Event Link as own variable #60

Closed Kahmoon closed 3 years ago

Kahmoon commented 3 years ago

Hi Kamil,

can we get a dedicated variable which contains the link to the event?

{{event_url::##event_id##}} or {{event::##event_id##}} seems to be buggy with preview.php

When i look in contao database tl_queue (Notification Center Queue) there is a variable "event_link" submitted. This should be usable in mailtemplate.

"event_link":"https:\/\/www.xxx.de\/intern\/termin\/wildkraeuterexkursion-gruppe-1-m-2101-17-04-2021-7210.html",

greetings Frank

Kahmoon commented 3 years ago

Nevermind....##event_link## is working. Maybe you should edit the manual (at the bottom) https://github.com/codefog/contao-events_subscriptions/blob/master/docs/06-notifications.md

Kahmoon commented 3 years ago

https://github.com/codefog/contao-events_subscriptions/pull/61/commits/75f9612ffa0c9e49aff81942499dfffeecbe53d5