Giter Club home page Giter Club logo

contao-calendar-ical-bundle's People

Watchers

 avatar

contao-calendar-ical-bundle's Issues

Is there a documentation?

Hello, I'm looking for a short explanation of what this extension is good for. Feature?
Thank you

endDate/endTime differ 1 day on import, causing wrong dates

Contao 4.13, PHP 8.0, cgoit/contao-calendar-ical-php8-bundle 4.4.4

Ich bin jetzt auf ein ähnliches/gleiches Problem gestoßen wir hier:
[https://community.contao.org/de/showthread.php?83003-Problem-beim-Import-eines-Kalenders-aus-einer-iCal-Web-Datenquelle]

Alle Termine eines Kalenders werden aus einem Google-Kalender gezogen, und alle sind jeweils in der Ausgabe einen Tag zu lang, d.h. in der Event-Liste im Backend und im Frontend, obwohl im Event (also in den Event-Einstellungen) das End-Datum korrekt gesetzt ist. Im Google-Kalender ist das Event als ganztätig angesetzt.

Offenbar werden aber beim Import endDate und endTime nicht auf den gleichen Wert gesetzt, sondern endTime bekommt einen Zuschlag von einem Tag (minus eine Sekunde):

grafik

1612051200 => 31.1.2021, 01:00:00
1612137599 => 1.2.2021, 00:59:59

Habt Ihr da eine Erklärung dafür? - spontan fällt mir als Workaorund eigentlich nichts ein ...

Fehler beim Import einer CSV

Ich bekomme beim Import folgende Fehlermeldung:

Datum ist so angeben: %d.%m.%Y
Uhrzeit so: %H:%i

An exception occurred while executing 'INSERT INTO tl_calendar_events (`tstamp`, `pid`, `published`, `author`, `startDate`, `startTime`, `endDate`, `endTime`, `title`, `teaser`, `addTime`, `source`) VALUES (1673521935, '10', 1, '1', 1673391600, '16:30', 1673391600, 1673391600, 'allgemeiner Dienst', 'Feuerwehrhaus Ortschaft', 1, 'default')': SQLSTATE[01000]: Warning: 1265 Data truncated for column 'startTime' at row 1

Was mache ich falsch?

Export von mehreren Kalendern funktioniert nicht aufgrund url encoding

In meinem Fall wird die URL bei zwei verwendeten Calendern folgendermaßen generiert: ical/2%252C1/title/iCal-Datei%252Bherunterladen. Durch die Codierung funktioniert aber preg_replace nicht (https://github.com/cgoIT/contao-calendar-ical-bundle/blob/master/src/Resources/contao/classes/ContentICal.php#L48)

Ein einfaches urldecode hat bei mir geholfen. Also $this->getAllEvents(preg_split('/,/', urldecode(\Input::get('ical'))), $startdate, $enddate);

ICAL Import from Google

Hy,

the Import from Google is working, but every Date is importet with a weblink, but this weblink is not there because Contao don't build the Event Side.
If you wan't further details ic an send you in a direct communication.

THX

Sebastian

Felderzuordnung beim Import

Was mir aufgefallen ist:

  • Die UID landet in der Meta-Beschreibung. Gibt es hierfür einen besondern Grund? Das macht eigentlich keinen Sinn.
  • Der Importer bricht ab, wenn ein Termin Teilnehmer hat, diese aber ein leeres MAILTO Feld.

Access to undeclared static property: Kigkonsult\Icalcreator\Util\DateTimeFactory::$YmdTHis

Hallo,

ich habe heute von /Craffft/contao-calendar-ical-bundle auf dieses gewechselt. (Dieses Paket per Contao-Manager installiert und das von craffft entfernt). Nun erhalte ich obige Fehlermeldung:
request.CRITICAL: Uncaught PHP Exception Error: "Access to undeclared static property: Kigkonsult\Icalcreator\Util\DateTimeFactory::$YmdTHis" at /var/www/vhosts/xxxx/httpdocs/xxxx/vendor/cgoit/contao-calendar-ical-php8-bundle/src/Resources/contao/classes/ContentICal.php line 135 {"exception":"[object] (Error(code: 0): Access to undeclared static property: Kigkonsult\\Icalcreator\\Util\\DateTimeFactory::$YmdTHis at /var/www/vhosts/xxxx/httpdocs/xxxx/vendor/cgoit/contao-calendar-ical-php8-bundle/src/Resources/contao/classes/ContentICal.php:135)"} []

PHP 7.4.33
Contao 4.9.40
cgoit/contao-calendar-ical-php8-bundle 4.4.9
kigkonsult/icalcreator 2.28.2

Hook für getAllEvents

Ich habe in meiner Installation über den getAllEvents Hook spezielle Filter für meine Events. Leider bietet der Ical Exporter keinen Hook an, um die Funktion auch hier zu übernehmen.

Events werden nicht erstellt

Hi,
Ich habe eine Frage: ich habe das Package installiert und einen Kalender im backend erstellt sowie den Google Kalender ics Link als webquelle eingefügt. Wenn ich dann auf speichern klicke kommt die Fehlermeldung:
str_replace(): Argument #2 ($replace) must be of type array|string, null given
Wenn ich im Feld Pattern Event title etwas eingebe, kommt diese Meldung nicht - Events werden aber nicht erstellt.
Woran liegt das?

Commandline option

Hi,

is there a option to import a .ics file via the commandline? This would make it possible to automatically update the calendar when the ics file has changed.

EDIT: I noticed that importing the ics file twice will duplicate all events instead of updating them. Is there a way to be able to update vents based on the ics file?

ics Import schreibt falschen Wert in Datenbank

Contao 4.13, PHP 8.1, cgoit/contao-calendar-ical-php8-bundle 4.4.5

Beim Import eines ics-Kalenders (egal ob als Datei oder Webkalender) wird in der Tabelle tl_calendar_events im Feld singleSRC statt NULL der Wert 0x0000 eingetragen. Contao versucht, die Datei zu finden und überflutet das System-Log mit der Fehlermeldung "Image "%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00" could not be processed: Image "" could not be found"

Feature-request: Import CATEGORIES from external iCal Calender

It would be great, if CATEGORIES in events of imported iCal Calendar would also bei imported like LOCATION.
Or better:
Would it be possible to have a config file (or an other config) to map the fields? So that we can decide to import LOCATION to "Veranstaltungsort" instead of making a contentelement, or map it to own created fileds.

Error with Contao 4.13, PHP 8.0

Das Speichern eines Kalenders im Backend, der einen iCal-Kalender enthält, führt zu folgender Fehlermeldung:

Compile Error: Array and string offset access syntax with curly braces is no longer supported

Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Array and string offset access syntax with curly braces is no longer supported

  at vendor/kigkonsult/icalcreator/src/Util/StringFactory.php:79   

Wäre sehr dankbar für einen Fix ...

Issue with Date Conversion from ICS File to Contao

Hello,

I am currently facing an issue with the integration of booking data for a vacation house into Contao using the cgoit/contao-calendar-ical-php8-bundle extension. The extension is generally functioning well, but there seems to be a discrepancy in how dates from the ICS file are being interpreted and displayed on the website.

Issue Description:
The ICS file contains booking events with specific start and end dates. However, when these dates are imported into Contao, there is a shift in the date range displayed.

Example:
An event in the ICS file is as follows:

BEGIN:VEVENT
DTSTAMP:20231214T215613Z
DTSTART;VALUE=DATE:20231217
DTEND;VALUE=DATE:20231225
SUMMARY:booking
UID:***@voffice.com
END:VEVENT

This event is supposed to be from 17.12.2023 to 25.12.2023. However, in Contao, initially with the timezone set to "Berlin", it was displayed as "16.12.2023–23.12.2023". After changing the timezone setting to "GMT", it changed to "17.12.2023–24.12.2023". Despite trying other timezones, I am unable to get the correct end date (25.12.2023) in Contao.

Technical Details:

  • Contao version: 4.13.35
  • cgoit/contao-calendar-ical-php8-bundle version: 4.5.1

I am uncertain whether this is an issue with the ICS file format or the extension's interpretation of the file. Any assistance or insight into resolving this discrepancy would be greatly appreciated.

Thank you in advance for your help!

Best regards,
Nicole

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.