Jump to content

DrewPH

Members
  • Posts

    27
  • Joined

  • Last visited

  • Days Won

    4

DrewPH last won the day on October 26

DrewPH had the most liked content!

Contact Methods

  • Website URL
    https://www.drewtowler.com/

Profile Information

  • Gender
    Male
  • Location
    Philippines

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DrewPH's Achievements

Jr. Member

Jr. Member (3/6)

46

Reputation

  1. DrewPH

    zigpress.com

    Well spotted! Except I emigrated from Malta to the Philippines in 2019, so I don't think I could claim that! But the (100% genuine) testimonial stays because Malta is where I grew my business and is still where most of my active clients are.
  2. Now tested (I used the module configuration field) and it works perfectly. Thanks again.
  3. Brilliant, and once again very fast. I'll try it out as soon as I can.
  4. DrewPH

    zigpress.com

    Hehe, ProcessWire Weekly #546 RSS just dropped into my Reeder app and it seems ZigPress is site of the week! 😊 I'm extremely flattered and honestly quite surprised considering the high standard of sites in the showcase... thanks to whoever made the choice.
  5. JS error resolved with the new file, thank you! I'm not using the language option at all (and don't expect to in the near future), so an independent override would be really great when you have the time, thanks.
  6. DrewPH

    zigpress.com

    Quick note: my logs are telling me that someone viewed the site from here with Mobile Safari and the page tried to load script files from the wrong path. Only possible reason: they must have viewed the page before (when it was still WordPress!) and it got cached. So if you took a look and the site looked completely broken, just clear your browser cache :-) I've now added anti-caching directives.
  7. DrewPH

    zigpress.com

    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.
  8. I'm almost done with my integration of this module, and it's working great. WireMail and WireMailSMTP integration was easy. I have 2 issues though: 1. On AJAX submission, the loading message "Please be patient... the form will be validated!" seems to be hard-wired. Would you be able to offer some way for developers to override it with their own custom text? For example, I'd like my site to simply show "Submitting your enquiry...". 2. Whenever I type into my textarea form field, my JavaScript console gives me this error: Uncaught TypeError: Cannot read properties of null (reading 'children') at HTMLTextAreaElement.<anonymous> (frontendforms.js?v=2.2.17:455:29) I think it's something to do with the character counter, which I have not enabled. And the form still submits OK. Thanks in advance for looking into these issues!
  9. I'm trying this module out in a site I'm building, and it looks like being ideal. I appreciate you developing and supporting it. However, I've run up against a class naming conflict... In frontendforms.css, in the "Slider Captcha" section, there is .block { position: absolute; left: 0; top: 0; } This has instantly nuked my entire page layout, since I'm building the site with RepeaterMatrix fields and am using "block" as the main class for each matrix! I know I can use a different class name or override the attributes, but I'd like to suggest that modules should be as specific as possible in their CSS usage in order to avoid conflicts, especially with a word as generic as "block". Is it possible for you to use a wrapper class in the css file, so that other classes named "block" are not affected when this module is installed? Something like this: .sliderCaptcha .block { position: absolute; left: 0; top: 0; } Then, in AbstractSliderCapture.php, you could have something like this on line 48: return '<div class="sliderCaptcha" id="' . $formID . '-captcha" data-validated="false"></div>'; I may have missed something you'll need to change but I'm sure you get my point. Hope you can consider this - thanks!
  10. @Ivan Gretsky Thanks, that works! I came across the columnWidth attribute at some point but then lost where I had seen it. @bernhard Thanks for the link. For commercial sites I'd probably install that - however this is my "learn how to build a module" module 😀
  11. I'm sure there's an easy answer that I overlooked in the docs or failed to find in the forum, but... If you look at the attached screenshot, my module config has 2 simple checkbox fields, and I would like to get them to be side by side, 50% width each. How can I do that? Apologies if whatever I missed is really obvious! Here's my module config file. <?php namespace ProcessWire; $config = [ 'rateLimiterActive' => [ 'type' => 'checkbox', 'label' => 'Rate Limiter', 'description' => 'Activate the ZpTraffic rate limiter on this site', 'value' => '0', ], 'blockEmptyAgents' => [ 'type' => 'checkbox', 'label' => 'Block Empty Agents', 'description' => 'Block visits with an empty user agent string (send a 400 Bad Request)', 'value' => '0', ], ];
  12. DrewPH

    eltikon.online

    Oops. Copypasta can be a bit of a blunt instrument. Now fixed. I appreciate you taking the time to let me know!
  13. DrewPH

    eltikon.online

    Greetings and thanks! I was last in Switzerland in 2018, which was my 6th trip there (my 1st was in about 1980 I think). I'm not sure if I'll get there again (getting too old for long flights) but I'm making a 3m x 1m reminder of it in my office room... I'm loving ProcessWire and am finding it easy to find answers to my questions online - maybe because PW's way of doing things fits my own, so the things I want to solve, other PW developers have also solved. I'm now building my first custom module and am starting to enjoy coding again (I've been in the WordPress ecosystem for a long time and am a bit fed up of it to be honest).
×
×
  • Create New...