fritzmg/contao-sharebuttons

Add to events module too

Closed this issue · 6 comments

Feature request

Can you add this module to the events module as well as the news?

Well, the problem is, that the events module has no Hook to do the same thing as in the news module. Maybe there is some way to "hack" it in.

But maybe there are workarounds or other solutions for you. Why exactly do you need it?

I can just add the share buttons directly to the events template.

It would just be easier for end clients to manage which sites they want their pages shared on for events if they could just tick boxes like they can in the news channels.

I see, yes. Well maybe I'll try to hack it in ;)

Cool, Thanks.

This could be done via the parseTemplate Hook, where the Template object is available.

Implemented in 2f0d6e8