Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Contao 5.1 #57

Open
Cleanerrr opened this issue Jun 20, 2023 · 12 comments
Open

Compatibility with Contao 5.1 #57

Cleanerrr opened this issue Jun 20, 2023 · 12 comments

Comments

@Cleanerrr
Copy link

Hi,
is a Contao 5.1 version planned soon?
Thanks

cliffparnitzky added a commit that referenced this issue Jun 20, 2023
cliffparnitzky added a commit that referenced this issue Jun 20, 2023
cliffparnitzky added a commit that referenced this issue Jun 20, 2023
@cliffparnitzky
Copy link
Collaborator

@Cleanerrr Try to install the version dev-contao5 and check if everything works. Please report errors here. If everything is fine I can create the final version.

@Cleanerrr
Copy link
Author

Hi Clif,
quick answers and action I have not received before. Thank you for that.
I installed the "dev-contao5" version and the installation went without any problems for me. I didn't get any error.
I also tested the use of the plugin by adding a date field in the form. And it works normally.
I think everything here is OK for the live version.
Thank you very much

@cliffparnitzky
Copy link
Collaborator

Thank you. Sounds good.

@Cleanerrr
Copy link
Author

Hi,
was the final version released live, or...?

@cliffparnitzky
Copy link
Collaborator

No, not yet ...

@JessesNei
Copy link

Hi,
I wanted to ask if there will be a release for 5.3 soon or if there is anything to help with to have a release for 5.3 soon?
I just read the comments but as I read it should work with contao 5 already?

@rorych
Copy link

rorych commented Aug 30, 2024

Is there any update on the new version for Contao 5.3?

@Webstylerin
Copy link

Are there any updates on a Contao 5.3 version? Can I use the “dev-contao5” version? Are there any known issues with Contao 5.3? I am about to update a website that uses the extension and would love to hear some news.

@Webstylerin
Copy link

The Contao update for the site is nearly complete. Initially, I considered using input type="date" instead of the Calendarfield extension, but it led to new issues. So, I installed the “dev-contao5” version, and it’s mostly working fine.

However, when I select a custom icon for the form field, I encounter this error:

Attempted to call an undefined method named "addImageToTemplate" of class "Hofff\Contao\Calendarfield\FormCalendarField".

As a workaround, I modified the default icon directly in the form_calendarfield.html5 template.

In the backend, there’s also a minor display issue: <sup class="desc_icon">🛈</sup> no longer seems to exist. I’ve attached a screenshot for reference.

Monosnap Web Image 2024-11-22 12-12-00

@liquid-a
Copy link

liquid-a commented Dec 4, 2024

I have installed and tested the ‘dev-contao5’ with Contao 5.3.19 (PHP 8.3). All functions work exactly as they did before.

I can also confirm that an error message appears in the frontend when selecting a custom icon. The log-file contains the following:

request.CRITICAL: Uncaught PHP Exception Error: "Call to undefined method Hofff\Contao\Calendarfield\FormCalendarField::addImageToTemplate()" at FormCalendarField.php line 121 {"exception":"[object] (Error(code: 0): Call to undefined method Hofff\\Contao\\Calendarfield\\FormCalendarField::addImageToTemplate() at /var/www/vhosts/testdomain.de/httpdocs/test/vendor/hofff/contao-calendarfield/src/Resources/contao/forms/FormCalendarField.php:121)"} {"request_uri":"https://www.testdomain.de/startseite","request_method":"GET"}

I think if this is still adapted, the module for Contao can be released for this Contao version. It would also be great if this were possible soon, as Contao 4.13 is coming to an end and 5.3 is already an established version.

@skipman
Copy link

skipman commented Dec 12, 2024

When I try to install the dev-contao5 package via package upload, I get the error "Die composer.json Schema-Validierung ist fehlgeschlagen. Error validating /version: The property version is required".
How can I fix this, or (better): when will a stable Version for Contao 5.3 be available?

@liquid-a
Copy link

To install the dev-contao5 package, I entered the following line in the composer.json and then executed the installation with the Contao Manager:
"hofff/contao-calendarfield": "dev-contao5"
(Pay attention to correct comma placement in the composer.json)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants