Jim Bailie
Members-
Posts
83 -
Joined
Profile Information
-
Gender
Male
-
Location
Chicagoland
Recent Profile Visitors
2,618 profile views
Jim Bailie's Achievements
Full Member (4/6)
40
Reputation
-
Weekly update – 10 October 2025 – New ProCache version
Jim Bailie replied to ryan's topic in News & Announcements
@Robin S That's the post...not sure why I couldn't find that. Thanks! @ryan Great idea! And here's what GROK just spit out. Very interesting and looking forward to picking up a copy of ProCache very soon. server { listen 80; # Adjust to 443 ssl if using HTTPS server_name yourdomain.com; # Replace with your domain root /path/to/your/document/root; # Replace with your actual document root location / { # Check if request is not POST if ($request_method != POST) { # Check if query string is empty if ($args = '') { # Check if specific cookies are not present if ($http_cookie !~ "(wire_challenge|wires_challenge)") { # Check if cached file exists and serve it try_files /site/assets/ProCache-xxx/$uri/index.html $uri $uri/ /index.php?url=$uri&$args; } } } # Fallback to PHP if no cached file is found try_files $uri $uri/ /index.php?url=$uri&$args; } # Optional: PHP handling for ProcessWire location ~ \.php$ { include fastcgi_params; fastcgi_pass unix:/var/run/php/php-fpm.sock; # Adjust to your PHP-FPM socket fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } -
Weekly update – 10 October 2025 – New ProCache version
Jim Bailie replied to ryan's topic in News & Announcements
I remember a while back someone posted an nginx config file they got to work with ProCache. I CANNOT find this post and if anyone has a better memory or search skills than me, I would be very grateful for a link. I've got another project coming up where we'll be building our first public facing website with PW so I'd like to get going on this. Thanks in advance! -
@wbmnfktr Amen to that! I think I like your approach here. I also think I may experiment with using Astro as the application and making PW available for build time data retrieval via 127.0.0.1:port# and the same PW instance available via a subdomain for post-page load endpoint requests and other tasks if needed. For reference, there are a few articles discussing this sort of approach using Wordpress headless.
-
@wbmnfktr I've been looking at AstroJS lately and am intrigued by your comment above. How are exactly are you using Astro? Are you using it as sort of a template engine, then moving the final output into a PW instance? Or are you using Astro as an application itself and talking to PW via endpoints? If this is the case how are you positioning both Astro and PW on the same server?
-
I don't have the expertise in PW that some here have, so I would just ask in a general sense, isn't 480 fields pushing it a bit? At that point, aren't you better using the most excellent ProFields module or your own database tables? Just curious...
-
Hello - Just installed @kongondo 's terrific module. The admin dashboard is looking a little sloppy. There's no grid for the posts, etc. Just wondering if I'm missing something obvious before digging. Looks like all the assets are loading correctly. I'm also using the latest PW release 244 Thanks!
-
Emptying / resetting all fields for a recently cloned page?
Jim Bailie replied to theoretic's topic in General Support
Ha! I could tell my users to do that, but unfortunately they would not respond positively. The reason I'm interested in this thread is that I will soon need to: Clone a page (same template) Retain some field values Remove remaining values Populate 2 field values based on certain conditions Position the clone in the page tree based on said conditions I think just somehow iterating through the KNOWN field names/values and doing the work is the way to go, but it's always good to hear about any efficiencies that others my be aware of. -
Emptying / resetting all fields for a recently cloned page?
Jim Bailie replied to theoretic's topic in General Support
I'm interested in any input on this from more experienced PW devs, but I do wonder if this post helps at all: -
New blog post: Introducing the Custom Fields Module
Jim Bailie replied to ryan's topic in News & Announcements
@ryan Understood. I suppose I would rephrase the question with a scenario. Let's say I install the module, will it or could it auto-generate definitions of existing fields? I hope I'm not missing something obvious. And I will read the post in detail, but we have to head out for the evening 🙂 -
New blog post: Introducing the Custom Fields Module
Jim Bailie replied to ryan's topic in News & Announcements
Wow. This is really something. Thanks @ryan! I didn't read the the entire post, but are these or will these Custom Field "maps" be exportable from an existing install? -
Alright, I just looked at what I did to address this and it looks like I just renamed the two files to ProcessLogin.js.bk and ProcessLogin.min.js.bk This is, of course, not an elegant solution but it did solve the problem very quickly. I do recall now that I need to go into the server and see how the system time is setup relative to any php/pw settings that may be causing this problem systemically.
-
I was dealing with this very recently. Below is a link to another thread regarding this. I also made an additional change to the JS file mentioned below, but I don't have access to this code today. Can post tomorrow. This seems like it started happening after US daylight savings last hit...
-
Hide the Admin User row on the /processwire/access/users list
Jim Bailie replied to Jim Bailie's topic in General Support
@Ivan Gretsky As luck would have it, I do have ListerPro, and now the problem is solved. Thanks! -
For 20+ years I've always maintained a Windows box and a Linux box connected via a KVM switch and with a dual monitor setup. I also have a somewhat older Intel IMac I keep for various tasks. I haven't given it much thought as I regularly switch between Linux and Win10 throughout the day. As far as distros go, I'm using Ubuntu 20.04 KDE and will probably upgrade (clean install) after summer sometime. My $0.02...