-
Posts
26 -
Joined
-
Last visited
Recent Profile Visitors
1,841 profile views
reed's Achievements
Jr. Member (3/6)
16
Reputation
-
Front-end changes not propagating (and new templates not found)
reed replied to reed's topic in General Support
Ahoy! Turns out Dreamhost updated my VPN and changed my hostname and dedicated IP, and I didn't get the email where they let me know those facts ? Still took some figuring out to get things working with Cloudflare again, but it's all working again, and as usual, none of the issues were Processwire's fault! Thanks @elabx for jumping in! -
Hey y'all, having a confusing morning over here. I use SSH to push template changes to arthistoryproject.com, and this morning I push and get this error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. So I look up the issue, and it sounds like its usually triggered just by some server side change, and you basically just have to delete your .known_hosts file and then re-accept the server to the list of known hosts. I do that, and now I can push edits to my templates again, but now I can't see the updates on the live site. The updated template files are viewable in dreamhost's WebFTP, but PW isn't using them? So I turn off all my caching (procache and cloudflare) and while the live site will show changes to stuff like page titles and content, the templates don't show my latest changes. To further test things, I created a new template folder, pushed it to Dreamhost via SSH, and when I try to "add new template" in PW, I get the "No new template files were found in: /site/templates/*.php" error. I have no idea what's going on, and any thoughts, ideas, fixes, or well-wishes would be much appreciated. Thanks ?
-
Is there a way to force a one-time re-generation of image size variations?
reed replied to reed's topic in General Support
Oh snap! That looks like it might do it — I'll check it out and report back ? -
A while back I added webp support to arthistoryproject.com, but didn't see a ton of image size improvement. Then today I read this post by the genius horst, and realized I could tweak webp quality settings in config.php. I've made some changes, and new webp renders are WAY smaller. Fantastic! But now I'm wondering if there's a way to programmatically delete/overwrite previously rendered image variations, either site-wide or page-by-page. But of course, only once per page/image. Does that make sense? Thanks so much for any ideas! Reed
-
Thanks so much horst! That makes a ton of sense — I'll get into it and post when I've got a solve.
-
Hey y'all! It's been a while since I jumped into the forums, so I'm hoping this is in the right place. So — I'm using Pro Cache to deliver cached versions of my site pages. It's the absolute best. But I recently added a dark-mode to my site, which first checks for a cookie to set a global <body> class based on the visitor's established preference, and falls back to the user's system-level color scheme with the media query: @media (prefers-color-scheme: dark) The problem is, cached pages seem to adopt the mode of the user who first visited the page and triggered the cache? I'm still messing around with it, but if anyone has ideas for how to both cache pages, and deliver each user content in the mode they prefer let me know. Thanks so much!
-
It looks like @eydun called it — the school uses MS Office365, which was quarantining my emails. I got on their whitelist, and now my emails are going through just fine. However, it is gonna be a consistent problem, since some other schools are reporting issues as well ? And @dragan — I think you're right — I looked at the headers of automated emails vs manually sent emails, and there are differences. I'm not totally sure what I'm looking at, but I'll share the code tomorrow, and maybe there's something conspicuous to a more practiced eye than mine ?
-
Oh snap — maybe? I've reached out to the school's IT group, and there's a whitelist they're gonna put me on. We'll see if that helps. I'll find out if they're on MS Office365, and report back ?
-
Hey y'all — I've got a weird issue. I set up the WireMailGmail module to send emails for the LoginRegister module, and it's been working great. All my tests have sent instantly, and users from around the world have successfully logged in. Here's the problem: I work with a school, and they're not receiving the automated emails from my gmail account. They do get emails if I send them manually from the same gmail account. Any ideas what might be causing this issue? Thanks a bunch for any thoughts — Reed
-
Fixed! Not completely sure why, but switching: $mail = new WireMail(); to this: $mail = $this->wire('mail')->new(); in the LoginRegister module did the trick — line 684. Now Gmail's sending my registration emails too ? Gotta say, I am hugely grateful for Processwire. Ryan, and all you fantastic moderators and commenters—this is such a great place to learn, and goddamn if the sky doesn't seem to be the limit.
-
Hey y'all! I'm building a front-end login system with the LoginRegister module, and my registration and password reset emails were taking up to 30min to send. So, I set up the fantastic (and recent) WireMailGmail module. A bit tricky on Google's end, but its working beautifully — my password reset emails are sending in milliseconds. Buuuuut, my registration emails, from the LoginRegister module, are still being sent with the old WireMail system, instead of the new WireMailGmail setup. I'm not running any other WireMail plugins, and I already added the line: $config->wireMail('module', 'WireMailGmail'); to my config.php, as suggested in the readme. Any thoughts? I feel like I must be missing something obvious in the LoginRegister module code? Thanks so much for any help, especially on such a new plugin!
-
Is it possible to use InputfieldPageAutocomplete without selecting a parent?
reed replied to reed's topic in General Support
Oh man, I've made a stupid mistake. I didn't have AutoComplete included in the list of accepted field types for the Page Inputfield. So AutoComplete wasn't appearing as an option for any of my Page fields, regardless of parentage. In fact, it looks like AutoComplete now works perfectly, with any parent or selector you want. Man, Processwire just reads my mind. Thanks Ryan and community once again For anyone with a similar issue, just go to Modules, scroll down to Page, click Settings, and add PageAutocomplete to the list of "Inputfield modules available for page selection."- 1 reply
-
- 3
-
- autocomplete
- fields
-
(and 3 more)
Tagged with:
-
Hey y'all! I've been digging through the forums trying to find a workaround for the Page AutoComplete Field. So far, no luck. Here's the problem: Currently, to use the Page AutoComplete Field, you have to define a single parent for the pages you want to select from. I want to use the AutoComplete field to add multiple pages from different parents. For instance, I have a field for location, and I want to add the MET Museum and The Louvre, but the MET has parent USA, and the Louvre has parent France. Currently, it's very labor intensive to scroll through a list of 300+ locations, or use AsmSelect to drill down. AutoComplete would be a godsend. I've not been able to find any way to workaround this issue, any ideas? Thanks for any help or recommendations! — Reed
- 1 reply
-
- 1
-
- autocomplete
- fields
-
(and 3 more)
Tagged with:
-
Thanks cstevensjr! I'm connecting my google analytics to the search now — it asks for the search query parameters. https://support.google.com/analytics/answer/1012264?hl=en&ref_topic=1031951#Params For Processwire that looks like it should be 'keywords' ? I'll go with that and see what happens. Thanks again!
-
Hey folks, I did some digging to see if I could find anything on this, but I couldn't turn up anything. Does any one have a recommendation on how to track the terms that users enter in my site search? Thanks for any thoughts!