Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Christophe

  1. 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!
  2. 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.
  3. It seems that the website basili.co also uses ProcessWire.
  4. Does someone already know about Fleet (JetBrains)?
  5. Thanks again also to Horst and to the other contributors.
  6. 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/.
  7. I rarely go on Twitter, but I stumbled upon this: You know what to do :)! NB: I'm waiting to create a CSS GRID website (with some parts with Flexbox if it is really needed) to add a response.
  8. https://www.planethoster.com/en/ https://www.planethoster.com/en/World-Hosting (see more details below the reviews. Example: "a pool of resources and you decide how to distribute them".) (But you also have https://www.planethoster.com/en/HybridCloud-Servers if needed.) Servers in France (Paris) and/or Canada (Montreal). 8 CPU - 16 GB RAM - 16 MB/s I/O cPanel and now also N0C. Several languages, several database types, etc. Free domain name. Cheaper if you take 2 or 3 years instead of one. Several important and interesting discounts available: https://docs.planethoster.com/guide/facturation/code-promo-rabais-remise-promotion (In French but you can google-translate it if needed. I can't find it in English.) Random example among others: "7- Obtenez la période restante prépayée chez un compétiteur en mensualité(s) gratuite(s) PlanetHoster." Also: https://www.planethoster.com/en/Affiliates But you cannot accumulate discounts (from code-promo-rabais-remise-promotion or Affiliates). Normally you automatically have a 15% discount that is activated when you are a new client/customer (or you can copy a promo code manually). Several currencies. Free World Lite. VIP option: Includes all the features of the World Platform - Free private WHOIS for all your domain names - Free premium VPN (multiple locations!) - LITESPEED + LSCache Etc. Added: PHA-awin (promo code to have 25% currently. I don't know how long it will be valid. This one already existed before.) Non-profit entities."25 % de remise/rabais pour les organismes à but non-lucratif (OSBL)". Then the second year and more: -10%.
  9. Source: https://processwire.com/talk/topic/24925-shetlandorg-welcome-to-the-islands-of-opportunity/ Also Fathom Lite, mentioned by some members of the Forums (sometimes also outside of the ProcessWire Forums).
  10. Christophe

    Qubes OS

  11. https://affinity.serif.com/en-gb/supporting-the-creative-community/ (latest news)
  12. Hi Adrian, When I started migrating the already existing content from Joomla! to ProcessWire and developing the new version, the domain name was still on the old version that was running at another hoster. With the .xyz domain name at 0.5 for the first year, it was (or seemed) a no-brainer. At the new hoster (not new to me and other clients), with the same account I can easily set up a new "World" and choose a domain name. But I guess I could now use a .dev subdomain. I won't have to be more careful than between 2 websites with only a different extension. At first, it was also in case I would have had to change a lot of "instances" of the domain name (database, etc.). But with ProcessWire I just had to change the extension in config.php of course and the links were modified automatically (including in CKEditor fields). With a subdomain it would have been the same for sure. Perhaps, it would have been better to have a more distinct domain name. But I always put the old version on the left side of my Vivaldi split tabs. And the Joomla! website was quite different. I have to look how easy it is to use a subdomain pointing to another "World" (better than to a subfolder) with the hoster. Also I have to check how not to have the .htaccess file redirect the subdomain to the domain as it's normally what it does, if I remember well. Happy New Year 2021 - to everyone here (and in the Forums)!
  13. Out of curiosity, who has already crossed the path of .xyz or .pw? Both are now considered generic extensions. For a non-profit organization, I use(d) a .xyz for the development/tests/copy of the new version of a website with the .fr extension. The acquisition price was 0.5. Currently it's 1.25. But the renewal will be 10. So perhaps a .pw will be used instead. And for Matomo, I will use a .pw. 6.20 then 6.20 the renewal. So, in total there are 3 different SFTP accounts/"Worlds" which share a certain amount of resources.
  14. Introducing Vivaldi Mail in Technical Preview https://vivaldi.com/blog/vivaldi-mail-technical-preview/
  15. Hello, Could it be because of jquery slim? You might want to try with the minified version instead.
  16. I'm using Uikit 3 these days (in part because Ryan had created a profile with Uikit that served as a basis), but my aim is to use CSS GRID, and FLEXBOX if it is really needed, in the nearest (possible) future. (With Uikit, for instance, I would have preferred the main menu code to be unique, instead of one for desktop and another one for mobile, even if sometimes it has advantages.) I would like to stay away, as much as possible, from classitis, divitis, cssitis (too many rules not used and/or overriden *). * And the same if possible with jquery (if really needed) and javascript. EDIT NB: But I can imagine Tailwind's interest for some specific projects...
  17. No. I should have searched via Google as I usually do. Thank you, I will check the privacy option.
  18. Hello @ryan, This module is very helpful ?. Please consider enabling the privacy-enhanced mode in the future. "To use Privacy Enhanced Mode, change the domain for the embed URL in your HTML from https://www.youtube.com to https://www.youtube-nocookie.com..." Source: https://support.google.com/youtube/answer/171780 The updated date would also make it highlighted on the "Directory of ProcessWire plugin modules" page ?.
  19. Apart from body copy, content links, navigational links and breadcrumbs, image filenames and attributes, etc., I usually just need more or less the following most of the time: <html lang="<?php echo _x('en', 'HTML language code'); ?>"> , <title><?=$page->get('browser_title|headline|title') . ' | ' . $siteTitle?></title> <meta name="description" content="<?=page()->summary?>"> <link rel="canonical" href="<?=$page->httpUrl?>" /> and <h1><?=page()->get('headline|title')?></h1> NB: I was going to forget mentioning image (and code) optimization for speed/performance, etc. Like for header images, if one doesn't want Google to fill in the description, it can be stated, for example, that if the page doesn't have a summary, the parent summary will be used, then the grandparent summary if needed, then the homepage summary, etc.
  20. https://www.php.net/manual/en/info.configuration.php#ini.max-input-vars As you may already know, it can be changed in your hosting provider account. Possible solution: https://modules.processwire.com/modules/process-admin-actions/ FTP Files to Page Add files/images from a folder to a selected page. Something that could be useful - to put in the admin.php file (source: Adrian): $this->addHookBefore('InputfieldFile::render', function($event) { $inputfield = $event->object; if($field = $inputfield->hasField) { if(!is_object($field)) return; $p = $event->object->hasPage; $inputfield->label .= ' (' . $p->{$field->name}->count() . ')'; } });
  21. Knowing the version(s) of PHP would help.
  22. Possibly because you type too quickly. (With the Azerty keyboard) I sometimes, for example, typed gogole.com, in the url bar directly or in the search bar of another search engine, wanting to type google.com. It must happen often, because Google bought it. It is redirected to its page.
  23. * Admin Actions https://modules.processwire.com/modules/process-admin-actions/ "FTP Files to Page Add files/images from a folder to a selected page." * You can drag-drop the selected images from the computer's folder to the CKEditor field (perhaps using Ctrl-C and Ctrl-V also works). The images are uploaded and inserted in the field, and are then added automatically to the first image field in the page (my experience).
  • Create New...