WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => Modules => Topic started by: CodeALot on July 06, 2021, 03:17:44 PM

Title: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: CodeALot on July 06, 2021, 03:17:44 PM
Deutsch:
In WB 2.13 wurde eine neue Version von Sweetalert2 in /include/plugins/default/sweetalert2/dist eingeführt.
Dieses Plugin wird von der Minigallery v2.5.0 verwendet, um Beschreibungen zu den Bildern hinzuzufügen und wenn nach einer Bestätigung gefragt wird, um ein Bild zu löschen.
Soweit ich das beurteilen kann, gibt es keine anderen Module, die Sweetalert2 verwenden, aber korrigieren Sie mich, wenn ich falsch liege.
Indem Sie die neue sweetalert2.all.min gegen die alte Version, die in WB 2.12 war, austauschen, können Sie das Backend von Minigal wieder zum Laufen bringen.

Sie müssen die alte Datei umbenennen, da sie sweetalert2.all.js heißt und Sie sie in sweetalert2.all.min.js umbenennen müssen - Wenn Sie wirklich gründlich sein wollen, sollten Sie die alte Datei tatsächlich minifizieren, damit sie selbst zu einer .min-Datei wird :-)

Entwickler: Wenn es keinen Grund gibt, dass die neue Version in WB 2.13 enthalten ist (sie wird nicht vom WB-Kern verwendet), ist es vielleicht sinnvoll, die alte Version wieder aufzunehmen?

English:
In WB 2.13, a new version of Sweetalert2 was introduced in /include/plugins/default/sweetalert2/dist
This plugin is used by Minigallery v2.5.0 for adding descriptions to the images and when asking for confirmation to delete an image.
As far as I can tell, there are no other modules that use Sweetalert2, but correct me if I'm wrong.
By replacing the new sweetalert2.all.min for the old version that was in WB 2.12, you can get the backend of Minigal working again.

You will need to rename that old file since it is called sweetalert2.all.js and you need it to be sweetalert2.all.min.js - If you want to be really thorough, you should actually minify the old file so it will become a .min file by itself :-)

Developers: If there is no reason for the new version to be included in WB 2.13 (it is not used by WB core), it may be wise to include the old version again?
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: dbs on July 06, 2021, 03:31:32 PM
Hi, do you have seen this version?
Minigallery v2.5.3-wb3 for WB 2.13.0
https://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?id=08D9A041
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: CodeALot on July 06, 2021, 03:37:20 PM
No I did not, I checked Ruud's own website and there is no mention of this version there. So although the AddOn-page claims it is a version by Ruud, I don't think it's an official release?
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: dbs on July 06, 2021, 04:06:27 PM
It's an official WB 2.13 release.
If Ruud will provide later a newer version you can upgrade without problems.
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: nibz on July 11, 2021, 02:46:34 PM
I think things go way wrong if Ruud came to putting this statement on his website:
Quote

It seems that WebsiteBaker uses their own addons website to publish fixed versions of my modules (while still using my name as developer ?!),


I hope the core developers will be communicating more with module developers like ruud.
Many of his modules make the live easier of wb users.
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: CodeALot on October 03, 2022, 04:37:31 PM
Hi, do you have seen this version?
Minigallery v2.5.3-wb3 for WB 2.13.0
https://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?id=08D9A041
Downloadpage is not working (Download button)
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: hgs on October 05, 2022, 08:13:20 AM
Hier der Link zur Seite von Ruud mit einer neueren Version vom 3.10.22
Here is the link to Ruud's page with a newer version from 3.10.22

https://dev4me.com/modules-snippets/opensource/minigallery-v2/
Title: Re: Minigallery v2.5.0 BACKEND does not work with WB 2.13 - And I have the solution
Post by: CodeALot on October 08, 2022, 01:13:02 PM
Thanks, had not spotted that one yet :-)