Jump to content

dreerr

Members
  • Posts

    80
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Vienna/AT

Recent Profile Visitors

3,799 profile views

dreerr's Achievements

Full Member

Full Member (4/6)

35

Reputation

  1. Dear Community, Since I upgraded my local installation of MySQL to 8.0.17 (stable) I get all kinds of errors in the frontend of a installation. My selector is $pages->find("template=show,date_show_to=,sort=-date_show_from") and I get the error SQLSTATE[HY000]: General error: 1525 Incorrect DATETIME value: '' so it is somehow not possible anymore to search for empty datetime fields. My my.cnf mode sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ALLOW_INVALID_DATES,NO_ENGINE_SUBSTITUTION But I already tried with sql_mode=STRICT_TRANS_TABLES,ALLOW_INVALID_DATES,NO_ENGINE_SUBSTITUTION Any ideas?
  2. @LostKobrakai Thanks, and where do I find that feature? ?
  3. Hi, I'm trying to export a few pages from my localhost to the staging server using the JSON export feature. I selected the pages for export, and left the fields setting at default (to include all fields relevant to the pages being exported). When I try to import them on the staging server, it prompts me to select alternatives for the fields I'm using, because "they don't exist locally" eg. "A field named “simple_text” of type TextLanguage appears in the import data, but does not exist locally. If you want to import this field, select a replacement field here." I mean, of course it doesn't exist locally yet, because I'm now trying to import it from somewhere else.. Please tell me what I'm doing wrong here? Thanks!
  4. Dear all, I have a use case where there are big amounts of texts semi-manually imported from InDesign, the process is that .indd documents are converted to .html and then chunks of the text are copy & pasted into various fields in Processwire. I'm using a CKEditor field for this and I'm stuck as all classes are stripped from the pasted content. <p class="Lauftext"> Lorem ipsum dolor sit amet, <span class="Bold-Italic">consetetur sadipscing elitr,</span> sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.<span class="Superscript">1</span> </p> as I have turned off ACF and HTML Purifier still all classes in the p and span tags are stripped. Any idea how to solve this? Tried in Chrome and Safari.
  5. Dear Mats, I'm trying to get your Leaflet Map Module with PJAX to work. I'm using the MoXo https://github.com/MoOx/pjax library but seem to have some troubles with it: I managed to configure PJAX that the inline JavaScript is executed after every page fetch, but I get Error: Map container is already initialized. Any ideas how to approach this? EDIT: I decided to use my own code with the standard Leaflet library and getting the marker with data attributes: .map(data-lat=$map->lat data-lng=$map->lng data-zoom=$map->zoom data-address=$map->address) initializing the map with import L from "leaflet"; document.addEventListener("DOMContentLoaded", function(event) { let container = document.querySelector(".map"); let mymap = L.map(container).setView([container.dataset.lat, container.dataset.lng], container.dataset.zoom); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { maxZoom: 18, id: 'mapbox.outdoors'}).addTo(mymap); let marker = L.marker([container.dataset.lat, container.dataset.lng]) }).addTo(mymap); }); and triggering DOMContentLoaded in pjax: document.addEventListener("pjax:success", function(event){ window.document.dispatchEvent(new Event("DOMContentLoaded", { bubbles: true, cancelable: true })); });
  6. Sadly I can't reproduce it working with TemplateFieldWidths still got a broken layout ?
  7. I can confirm this issue only affects Safari, on Chrome everything works fine
  8. Dear louisstephans, No, I'm having a viewport of approx 1400px, I attached a screenshot of the whole window
  9. I'm configuring two 50% fields, but they don't show up next to each other, also the first field seems off a bit. Is this a bug or incompatibility with AdminOnSteroids, TracyDebugger, etc.? I already tried all the settings in the UIKit module, also updated to the latest version
  10. Hey @Manaus I updated the Pug Engine to work with the latest version, it should work now again, please try!
  11. This is AMAZING!!! It will revolutionize Processwire! Will this be a commercial module or free of charge?
  12. THanks a lot the gamma setting solved the issue!
  13. Attached you see a comparison of a JPG I uploaded and one time applied ['quality'=>75] compared to ['quality'=>100] in the file size the files are 38KB resp. 245KB but on both you can find these artifacts in the blue and red parts of the image. Any idea to avoid them or try a different method of resizing? Thanks, D.
×
×
  • Create New...