Customizing the view for event recurrences

When I list events by www.xyz.td/events I get a list of the events including their recurrences.
But when I go into an event, the view that I had customized for events is only called for the original event. For its recurrences another view is used, that I cant't find to be customized as well.
(I related my customized template to events as default view thru ZMI protal_types)
We run PLONE 5.2
Any Hints? Thanks.

here is what id did in a plone4.3 project

  • if you have different event types that support occurences
    -> provide a view that redirects to the proper view

  • register your custom view for occurences

if you do not have several types of event, registering your custom view for IOccurence using the name occurrence_view probably is sufficient

example code - ymmv:

    <browser:page
        for="plone.event.interfaces.IOccurrence"
        name="event_view"
        class=".eventview.EventView"
        template="eventview.pt"
        permission="zope2.View"
        layer="my.types.browser.interfaces.IThemeSpecific" />

 <browser:page
      for="plone.event.interfaces.IOccurrence"
      name="occurrence_view"
      class=".eventview.OccurrenceView"
      permission="zope2.View"
      layer="my.types.browser.interfaces.IThemeSpecific"
      />

class OccurrenceView(BrowserView):
    """can handle occurrences of events and churchservices
    (plone.app.event returns occurrences for both, eventtype1 and eventtype2)
    """

    def __call__(self):
        # find out which type of event
        # and use the correct detail view
        acc = IEventAccessor(self.context)
        if acc.event_type == 'EventType1':
            view = api.content.get_view(
                'event_view', self.context, self.request)
        else:
            view = api.content.get_view(
                'event2_view', self.context, self.request)
        return view()