Event Calendars

Hi,

I’m currently trying out different CMSs, and now it’s Neos’s turn.
I noticed that the demo at https://demo.jumpbox.ch/demo-registration allows to define an event calendar with dates, description texts etc. Does anyone know which extension has been used here?

I also found these extensions for calendars:


MapSeven.Calendar seems especially interesting since it integrates Google Calendar.

EDIT:
Both of the above extensions crash my Neos installation :confused:

How do you manage and display event calendars on your Neos website? Which extensions do you recommend?

Thank you!

P.S. Is there a Neos IRC channel?

Hi,

sadly I can’t recommend a calendar plugin as I haven’t used one yet in a Neos site.
What errors do you get when you install them?

But regarding the IRC we use Slack https://slack.neos.io instead for our main communication in the community. But this board is of course always good for question like this as it allows other people to chime in and the search is better than in Slack.

Hi,

thank you for your answer!
I get the following errors for mapseven/calendar:

$ composer require mapseven/calendar:dev-master
(install works fine)
$ ./flow server:run
PHP Fatal error:  Declaration of MapSeven\Calendar\DataSource\CalendarDataSource::getData(?Neos\ContentRepository\Domain\Model\NodeInterface $node, array $arguments) must be
compatible with Neos\Neos\Service\DataSource\DataSourceInterface::getData(?Neos\ContentRepository\Domain\Model\NodeInterface $node = NULL, array $arguments = Array) in /home/(user)/(neos-project)/Packages/Plugins/MapSeven.Calendar/Classes/DataSource/CalendarDataSource.php on line 16

Type: Neos\Flow\Core\Booting\Exception\SubProcessException
Code: 1355480641
File: Packages/Framework/Neos.Flow/Classes/Core/Booting/Scripts.php
Line: 694

Open Data/Logs/Exceptions/20191121162133ac1d31.txt for a full stack trace.

sadly I can’t recommend a calendar plugin as I haven’t used one yet in a Neos site.

OK, maybe theres someone on slack, I’ll ask there, too.

Looks like the package is not fully compatible with the latest Neos versions. You should create an issue in their GitHub repository.

ok, thx
If I have time I might try to first take a look in the code if it can be fixed trivially.

Yes it should be, maybe you only need to add the type hints.

@bhoehmann we did not use any external package for the event calendar. I assume you mean the dialog that appears when you add a new event document node and especially the DateTime-Editor used there.
This is part of the Neos core and we configured the event document type like this in the nodetype yaml file:

'Internezzo.Event:Document.Event':
  superTypes:
    'Internezzo.Neos:Document.Abstract': true
    'Internezzo.Neos:Mixin.ContentCollection.Main': true
    'Internezzo.Neos:Mixin.HeadImage': true
    'Internezzo.Mixin:Mixin.Lead': true
    'Internezzo.Neos:Mixin.ExcludeFrom.Navigation.Main': true
    'Internezzo.Neos:Mixin.HideInNodeTree': true
  constraints:
    nodeTypes:
      'Neos.Neos:Document': false
  ui:
    label: i18n
    icon: 'icon-calendar-o'
    inspector:
      groups:
        event:
          label: i18n
          position: 5
          icon: 'icon-calendar-emtpy'
    creationDialog:
      elements:
        start:
          type: DateTime
          ui:
            label: 'Start'
            editor: 'Neos.Neos/Inspector/Editors/DateTimeEditor'
            editorOptions:
              format: 'd.m.Y H:i'
          validation:
            'Neos.Neos/Validation/NotEmptyValidator': []
        end:
          type: DateTime
          ui:
            label: 'Ende'
            editor: 'Neos.Neos/Inspector/Editors/DateTimeEditor'
            editorOptions:
              format: 'd.m.Y H:i'
  options:
    template:
      properties:
        start: '${String.isBlank(data.start) ? Date.now() : data.start}'
        end: '${data.end}'
  label: "${Date.format(q(node).property('start'), 'd.m.Y ') + q(node).property('title')}"
  properties:
    start:
      type: DateTime
      defaultValue: 'now'
      ui:
        label: i18n
        inspector:
          group: event
          position: 10
          editorOptions:
            format: 'd.m.Y H:i'
            minuteStep: 5
      validation:
        'Neos.Neos/Validation/NotEmptyValidator': []
    end:
      type: DateTime
      ui:
        label: i18n
        inspector:
          group: event
          position: 20
          editorOptions:
            format: 'd.m.Y H:i'
            minuteStep: 5
    location:
      type: string
      defaultValue: ''
      ui:
        inlineEditable: true
        inline:
          editorOptions:
            placeholder: i18n
      search:
        fulltextExtractor: ${Indexing.extractInto('text', value)}
    listImage:
      type: Neos\Media\Domain\Model\ImageInterface
      ui:
        label: i18n
        reloadIfChanged: true
        inspector:
          group: event
          position: 30
          editorOptions:
            features:
              crop: true
            crop:
              aspectRatio:
                options:
                  teaser:
                    width: 1090
                    height: 686
                    label: 'Event-Teaser'
                enableOriginal: true
                allowCustom: true
                defaultOption: 'teaser'
                forceCrop: true
    listText:
      type: string
      defaultValue: ''
      ui:
        label: i18n
        reloadIfChanged: false
        inspector:
          group: event
          position: 40
          editor: 'Neos.Neos/Inspector/Editors/TextAreaEditor'
      search:
        fulltextExtractor: ${Indexing.extractInto('text', value)}

'Internezzo.Neos:Document.Abstract':
  constraints:
    nodeTypes:
      'Internezzo.Event:Document.Event': false

I am the developer of the full-calendar package.
And i am Sorry but the version is also not ready for the latest version of Neos (yet). Hopefully i get some time again to work on it. I think it will require quite some time to fix everything. Especially the frontend i suppose will require a lot of work.