Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/17/2024 in all areas

  1. 2 points
  2. DDEV works great on Ubuntu in WSL2 on Windows 11. Installed VS Code in Windows with an extension to work remote on Linux too. So I do all my Web dev work in Ubuntu. Ubuntu file system shows up in Windows explorer too. This makes it easy to transfer files from Ubuntu to the WWW server using Filezilla on Windows by just using the local path to Ubuntu. Copying files from Windows to Ubuntu can easily be done via cp /mnt/c/Users/user/Downloads/file.ext . too. So WSL2 in comnination with DDEV and VS Code is really fun.
    2 points
  3. The integration of WSL2 and file explorer is very seamless. One can copy files between them as if they were on the same system. Even terminal integration is seamless. I never used WSL 1 so I don't know if it has always been like this.
    2 points
  4. I'd say give it a try. It's literally 2 steps. I did this recently. I didn't do step #3 there. Certs, multi-sites, etc., all work.
    2 points
  5. Hi @nurkka thats a good question 🙂 I'd love to have some kind of migration feature for RockPageBuilder content, but unfortunately it's not there yet. What is already there is an API for blocks, so it's already quite easy to work with block data from the API (https://www.baumrock.com/en/processwire/modules/rockpagebuilder/docs/api/). What I usually do in such situations is to always create content on the live site. This is the single source of truth for content. When using RockShell all content changes to your live site are just one command away: rockshell db:pull production But if you have lots of content it might be worth to write a simple script that uses the block api. Or maybe others have some creative ideas as well?
    1 point
  6. There you have it: For me the experience was terrible 😄 But I have been using there services years ago. I can only remember having had troubles when deploying applications because they had some weird permission setups. At least that was weird to me back then. I might judge differently nowadays. But I'm happy with Hetzner (for VPS hosting).
    1 point
  7. Hi @Stefanowitsch ALFRED uses PW's frontend editing which uses jQuery for the modals. I'd love to have a better solution, but that's what we have. Can you try to disable loading of jQuery in Alfred.js and see if that maybe fixes your issue and maybe it works with the version that you load on your frontend? Then I could add a setting to not load Alfred in the frontend if the frontend already uses jQuery. Also try to use the same version of jQuery that the backend uses.
    1 point
  8. I highly recommend KnownHost.com. I have a fully managed VPS with them, and in seven years, I’ve had zero issues.
    1 point
  9. I’m afraid I have no experience with any of the hosts you mention. In addition to my Vultr recommendation, I can offer the following info: Cloudways. They really grease the wheels for setups where pushing and pulling from or to staging and production environments is key. You have a choice of all (or most) of the data centers available from Vultr, linode, Digital Ocean, Amazon, and Google, and can mix and match. They were independent, based in Malta, but they’ve been bought by Digital Ocean. A little over two years ago, I tested the speed of a simple PW site on identically configured Cloudways hosts with Digital Ocean, Vultr, and linode backends in the same cities. (I couldn’t afford Amazon or Google.) Though all the sites behaved perfectly, the Vultr-backed site was far more responsive. D.O.’s sluggishness didn’t surprise me, but I’d have expected linode to have been more competitive. It was these Cloudways tests that led me naturally to Vultr when D.O. bought Cloudways. pair Networks. A shadow of their former self. Still only in Pittsburgh, Pennsylvania — though at one point theirs was one of the best-connected data centers in the world. They have not kept up with the times. I’m still hosting a couple of nearly abandoned sites with them; I guess I hate to pull the plug, since I’ve been a client for 27 years! Hetzner Online. Lots of offerings. GDPR compliant. Based in Germany (for better and for worse). The user interface looks like it was designed in 1999 and got a new coat of paint last year. I have one site with them, which I intend to move to Vultr — not because I’m particularly unhappy with them, but just to simplify. Let us know what you decide!
    1 point
  10. @horstThanks for the tutorial. Still useful for newbies like me. Now I have a German backend too, great!
    1 point
  11. I have just found this module and once again am astonished at the scope of interest and productivity of @adrian! Whatever I am looking for years after I started using PW he already has a module for written when I was just messing around ? This one is the great example. But the module is not as perfect as it could be. There is an issue (see above) that does not allow it to work as desired. I just added my thumbs up for the issue on github that makes the enhancement of the module (and custom hooks too) possible. Bumping this thread, so those of us working with multi-language sites could give their thumbs too to move the issue forward (it was waiting for us for a long time)) P.S. Multi-language support is one of the PW's selling points, so I feel proud making any step to improvement in this field)
    1 point
  12. Thx. I used another solution, which does the job. foreach($languages as $language) { if(!$page->viewable($language)) continue; $url = $page->localHttpUrl($language); $hreflang = $homepage->getLanguageValue($language, 'name'); if ($hreflang == 'home') $hreflang = 'x-Default'; echo "\n\t<link rel='alternate' hreflang='$hreflang' href='$url' />"; The code example stems from the freshly installed multilanguage demo site.
    1 point
  13. Thanks @kixe - I didn't have a need for repeaters when I wrote this module, but it's certainly a good idea to support them. I have gone ahead and updated the module based on your idea and it now works for repeaters as well. Thanks!
    1 point
×
×
  • Create New...