Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/25/2024 in all areas

  1. Here's my next ProcessWire build. After dipping my toe in the ProcessWater with a simple holding page ( https://www.threehills.farm/ ) followed by a blog ( https://www.eltikon.online/ ) that I shared here, this time I have focussed on a site that uses the Repeater Matrix to manage blocks of content, in order to see how easy it is to transfer my WordPress "Advanced Custom Fields Flexible Content" approach to ProcessWire. Result: it's really easy once you get the hang of it. Site: https://www.zigpress.com/ This is my business site, and is a single-page site (plus 404 etc) where each section of content is managed in a Repeater Matrix. Modules installed: AdminStyleRock (so I can use my Nord admin stylesheet!), Pro Fields Repeater Matrix, Seo Maestro, FrontendForms, Less, Redirects, my own ZP Traffic module, and Wire Mail SMTP. I also included Perishable Press's 7G Firewall. I still have more testing to do now that it's live, but it seems to be behaving OK so far. All feedback welcome, including criticism/bugs/whatever.
    7 points
  2. Since PW 3.0.238 you can do this: $wire->addHookAfter('ProcessPageSearch::findReady', function(HookEvent $event) { /** @var ProcessPageSearch $pps */ $pps = $event->object; $selector = $event->return; $for_selector_name = $event->wire()->input->get('for_selector_name'); if($for_selector_name) { $data = $pps->getForSelector($for_selector_name, true); // $data includes the PageAutocomplete field name and the ID of the edited page // Do something with $selector... } });
    2 points
  3. Usage: echo rockmoney() ->parse("1,4") ->minus(0.4) ->format(); // 1,00€ Why? The short answer is, because 0.1 + 0.2 is not 0.3 in computer world: Download & Docs: baumrock.com/RockMoney
    1 point
  4. I'm almost finished reading Developing Large Web Applications by Kyle Loudon (2010) and it keenly reminded me of ProcessWire, and I'd thought that PW came out around then but maybe earlier... Anyway the book is somewhat outdated by now, but I found it at the library and read through most of it quickly. It does provide a solid introduction to OOP in PHP; JavaScript has changed much more, and I basically skipped the CSS part. Are there any [maybe newer] books you would recommend?
    1 point
  5. Beautiful! Congrats and great to see someone making so much progress in so little time 🙂
    1 point
  6. @nurkkaMutagen is mostly for macOS users and does not have to be enabled on WSL2. WSL2 is already the preferred environment for Windows users, but if you’re still using traditional Windows this makes a huge difference. Turning on Mutagen doesn’t make sense on Linux or WSL2. Do you have TracyDebugger installed? Take a look if you got logging enabled. In some projects Tracy Logs and Informations take a long time to load (but 30 secs is really too long). Try to disable Tracy and if the load time is still slow. But you mentioned, that after a ddev restart it feels fast again, so Tracy (or the logs) are not the culprit.
    1 point
  7. Ryan seems to be traveling at the moment judging from his last messages in the News & Announcements forums so he might take a bit to reply, I'd wait 'till the weekend which is when he seems to be more active regarding product support.
    1 point
  8. Well, you get all kind of weird rounding issues if you do that. Of course you could round() all results, but that is tedious and I'm not sure if that's 100% bulletproof:
    1 point
  9. No, nothing of that. I was just a bit surprised you don't save currency values in cents (for Euro and Dollar and similar for other currencies) and had the need for this. As a drop-in solution, for already existing projects with tons of products/items, this seems perfect.
    1 point
  10. Thanks Brendon. Happy to know that I’m not blind. I will give a thanks trophy anyway. People in this forum are so friendly, if I can boost their ego, it will be my pleasure... ?
    1 point
×
×
  • Create New...