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 in mail notification contains "preview.php" sometimes #59

Closed Kahmoon closed 3 years ago

Kahmoon commented 3 years ago

Hi Kamil,

lately in my notifications for new events they have the /preview.php/ in their URL which redirects the member to the backend login which they have no account. This wasn´t a problem in the past.

How does the backend know about the preview.php URL? It only happens sometimes....not always. I have the preview page open in another tab but that should not affect the mail function?

Code in notification center for creating the event url Anmeldung unter: https://www.xxx.de/{{event_url::##event_id##}}

It should be: https://www.xxx.de/intern/termin/myevent-2101-17-04-2021-7211.html Sometimes it is: https://www.xxx.de/preview.php/intern/termin/myevent-2101-17-04-2021-7211.html

Is this an extension issue or contao core issue?

Greetings Frank

Kahmoon commented 3 years ago

Have to reopen this because im not sure where this preview url comes from. NC Queue or your extension.

Kahmoon commented 3 years ago

Done