-
Posts
192 -
Joined
-
Last visited
-
Days Won
3
markus_blue_tomato last won the day on June 9 2020
markus_blue_tomato had the most liked content!
Contact Methods
-
Website URL
https://www.blue-tomato.com
Profile Information
-
Location
Graz, Austria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
markus_blue_tomato's Achievements
Sr. Member (5/6)
207
Reputation
-
Thanks! I have also POST Requests but I have a look in it
-
I use some third party SaaS tool which an REST API. They often have troubles and the only solution is writting them an E-Mail to get it fixed. The problem is, often I see the issue very late. Changing the tool is no option for the next months. Does anyone know some good and also not too expensive tool where I can monitor the API requests to the provider - uptime and also if the response has correct data. If some problem appears the tool should send out some warning via e.g. Mail.
-
Nice! Would be cool to find the new APIs in the https://processwire.com/docs/ ....
-
I've made the same experiences as @teppo. In the world of frontend development - nobody would use jQuery for a new project since now vanilla JS can handle most of jQuery's advantages from back in the 00's. For some specific things you would use libraries which not depend jQuery. Main reasons are also JS-Bundle size and performance. I think if jQuery continues development/maintenance Processwire can still use jQuery in the Admin Panel. Otherwise I would recommend to migrate frontend modules like FormBuilder away from jQuery to vanilla or smaller js libraries.
-
I have solved it with some lines of JS in my admin.js File for AdminOnSteroids: document.querySelectorAll(".NoticeError .pw-container").forEach(element => { if(element.innerText.includes("Original image does not exist to create size variation")) { element.parentNode.style.display = "none"; } }); It's not they prettiest solution and work's only if the error message is in english but it should do the work for us...
-
Hi @d'Hinnisdaël, yes I can merge this PR. I have unarchived the Repo and you can create the PR.
- 37 replies
-
- image
- lazy loading
-
(and 2 more)
Tagged with:
-
Sorry, was still on private. It's no public!
-
Hello! We created an converter script which converts processwire translation json's to XLIFF 1.2 and back to PW json. Its written in Node.js and you can get it here: https://github.com/blue-tomato/PwXliffConverter/
-
Hi @ryan, after some testing around with our translation management, I saw that we need XLIFF format for most of our translation tools (https://www.across.net/, https://tolgee.io/) I guess you could take the id attribute in XLIFF and use some [pageid]-[fieldname]. Example for file from tolgee export/import file XLIFF: <file xmlns="" datatype="plaintext" source-language="de" target-language="de"> And "skeleton" is not mandatory. So there is not need for in in Processwire exports. Example XLIFF export format for processwire could look like this: <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> <file xmlns="" datatype="plaintext" source-language="en" target-language="de"> <body> <trans-unit id="1234-title" datatype="html"> <source>Hello World</source> <target>Hallo Welt</target> </trans-unit> <trans-unit id="1234-body" datatype="html"> <source> <p> <strong>A text about flowers.</strong> </p> </source> <target> <p> <strong>Ein text über Blumen.</strong> </p> </target> </trans-unit> </body> </file> </xliff> This approach is for XLIFF 1.2 which is used by across and toolge but its depricated. Maybe it would be good to make an export/import option for XLIFF 1.x and XLIFF 2.x. More Information about XLIFF in Across: https://www.across.net/en/online-help/sdk/connecting-third-party-systems/crossconnect-for-external-editing/implementation/across-xliff-format?r=1
-
Talking in general for https://processwire.com/modules/template-engine-factory/ But for now I have some crazy workaround: I have some node.js script im my frontend bundler (gulp) which parses .tpl Smarty files and generates .php files with the translations. I've talked about it here:
-
Yes this would also be nice for Smarty (.tpl) files.
-
Several MySQL Error in the Log
markus_blue_tomato replied to markus_blue_tomato's topic in General Support
Thanks, my only first gut feeling was also some db upgrades. But I set the db upgrade time not to the time as this errors appear. ? -
I see several MySQL Error in my log and have no clue how to avoid them since it never happens for me: Anybody has an idea what I could do? Using: PHP 8.0.17 (running in docker container on digital ocean) MySQL 8 (digital ocean mysql as a service) mostly latest PW dev Branch
-
got some similar troubles where $_FILES has the file but WireUpload->execute() is an empty array. I do some POST request JavaScript Fetch API.