Jump to content

Christophe

Members
  • Posts

    647
  • Joined

  • Last visited

3 Followers

About Christophe

  • Birthday June 20

Profile Information

  • Gender
    Male
  • Location
    Earth

Recent Profile Visitors

9,896 profile views

Christophe's Achievements

Hero Member

Hero Member (6/6)

377

Reputation

4

Community Answers

  1. If there is a ruby one there should also be a python one 🙂: https://wagtail.org/ If ProcessWire didn't exist I probably would have already tried it. (I would also probably have tried a ruby one.)
  2. Hello Ivan, Not yet. But unlike other interesting things that I haven't tried yet, I wanted to post the link anyway. I'll try it on another computer than my main one, on an old laptop or desktop, first with the "Mistral" model I think. A few GBs are needed if I remember correctly. During a few seconds I thought about the AIs taking control of our computers without asking permission in the future... They could also help to protect them. But let's not forget data poisoning. Have a nice week Ivan! Have a nice week also @szabesz!
  3. https://processwire.com/blog/posts/new-rte-for-pw/ (see Toolbar configuration) https://processwire.com/blog/posts/using-tinymce-6-in-processwire/
  4. OK, I'll open another topic if I can't resolve this. Edit: I thought it had disappeared but the less files error messages are coming back. I've just tried RockPageBuilder's Advanced Live Demo on Firefox, drag-and-drop doesn't work. On Vivaldi it works. https://processwire.com/talk/topic/29456-rockpagebuilder-drag-and-drop-compatibility-with-firefox/?do=findComment&comment=238563
  5. Could it be related in any possible way to the fact that in Firefox's console I have around 120 error messages of type request failed with status 404 linked to less files? With "strange" paths like https://www.project.loc/site/templates/bundle/var/www/project/site/modules/AdminStyleRock/styles/alfred.less and all the others like https://www.project.loc/site/templates/bundle/var/www/project/site/templates with less files in folders and sub-folders inside "templates".
  6. Hello, With the rockpagebuilder profile, so there is draggable="false" and when clicking on the "crosses" handle to drag the content it becomes draggable="true" and sortable-chosen is added to the class. On Vivaldi I can see by default in the Styles tab section[Attributes Style] { -webkit-user-drag: none; } and when clicking (without releasing) I then see section[Attributes Style] { -webkit-user-drag: element; user-select: none; } But in Firefox I don't see anything, probably because it is a webkit-specific property. This property seems to be best supported in Safari. https://caniuse.com/webkit-user-drag https://caniuse.com/?search=user-drag On https://sortablejs.github.io/Sortable/ the handle version demo, for example, works in both Vivaldi and Firefox... and in Vivaldi I still see div[Attributes Style] { -webkit-user-drag: none; } and when clicking div[Attributes Style] { -webkit-user-drag: element; user-select: none; } So, what is the difference...? (Also, could it be because of a z-index setting or something else...?)
  7. https://brave.com/leo/ https://search.brave.com/ https://brave.com/codellm/
  8. { "error_message" : "The provided API key is invalid. ", "results" : [], "status" : "REQUEST_DENIED" }
  9. Hello BitPoet, I thought that I was "Following" by default because I had created the topic. I received an email with the title "Did this answer your question?" the 20th March. The project hasn't really started yet. I'm waiting for more information to give a quote and continue to work on it. Time has passed really quickly. I'm moving from one house to another one so I didn't realize it. I still have the desktop computer and the Internet in the old house for the moment. In the new house there is no ADSL connection and the fiber/fibre one hasn't arrived yet in the street. I've just added "forceNew" => true to my $options and have cleared the browser's cache, and it has just worked. So, a Very Big Thank You! After that, I've put it to false, to see later if I need to keep it to true or if I can just keep it deactivated from now on. I haven't tried with $image->removeVariations() for the moment as it has worked with forceNew". I've just realized that I had set cropping to false in $options after all the tests that hadn't worked, so it seems that it has fetched the square versions that already existed. "$image->removeVariations() in between", you mean calling it just after using size(), or just before? I have a doubt. You use size(), then remove variations, before calling the thumbnails? And that's why it has fetched the square versions even if "cropped" wasn't activated anymore? Or you tell it to remove variations before using size()? I guess it's what "forceNew" => true does, if one chooses this solution, or at what moment is "forceNew" => true applied? I wonder why it didn't work without forceNew activated. It could be because of the server-specific cache... I'm just curious... Thank you again!
  10. Hello, I'm converting again a website from another CMS to ProcessWire. On the old website, there are square thumbnail images that were created manually back then, if I remember well. The original images that I'm using again are in majority square images. But some are landscape images. There could also be portrait images. There will also be new images of different proportions. I can't get the rectangle images to be cropped and reduced in size to 75 px. The width is ok (in the case of landscape images of course) but the height is less than 75px. The shortest side should be 75px and the longest side (centered) cropped in order to be 75px. I am using Imagick by default, but I've also tried by setting its priority to 2 and 3. So I've tried with GD with config.php by enabling cropping and/or by trying different settings directly in the template. It doesn't change anything. A square variation could be created in the backend but I'd prefer it to be done via the api in this case. I'm not sure if I need to specify a condition where the height is not equal to the width of the image. I thought it would work automatically with size() and cropping activated. The cropping is normally centered by default if I'm not wrong (even though I've also tried by specifying it). Thank you in advance for your help, hints... If you need more details please let me know. I'm using ProcessWire 3.0.212 dev with PHP 7.4.
  11. It seems that the website basili.co also uses ProcessWire.
  12. Does someone already know about Fleet (JetBrains)?
  13. Thanks again also to Horst and to the other contributors.
  14. Hello, In the backend, you can go to Modules > Site, there is a "Clear Compiled Files" button at the bottom of the page. Or you could try by directly removing the content inside site/assets/cache/ (or perhaps just inside site/assets/cache/FileCompiler/). Edit: there is also https://processwire.com/modules/process-cache-control/.
×
×
  • Create New...