Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

13 Good

About reed

  • Rank
    Jr. Member

Recent Profile Visitors

1,339 profile views
  1. 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 🙂
  2. 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 🙂
  3. 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
  4. 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.
  5. 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!
  6. 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."
  7. 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
  8. 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!
  9. 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!
  10. horst — many thanks! This worked perfectly. It's a pretty hefty database call, so I've limited the number of subjects to 20 to keep the TTFB down. But it works! And @Macrura, thanks for your thoughts as well - I'll keep that solve in mind — Here's my final function: function rendersubjectlistsort($pages) { $out .="<div class='listWrapper'><div class='imageList'>"; $pa = new PageArray(); foreach($pages->find("template=subject, limit=20") as $subject) { $subject->set('myCount', findartworks("subjects=$subject")->count); $subject->set('myImg', rendersubjectArtworkList(findartworks("subjects=$subject, limit=1"))); $pa->add($subject); } foreach($pa->sort("-myCount") as $item) { $out .= "<a class='listItem' href='{$item->url}'>" . $item->myImg . "<div class='itemInfo'>" . "<h3>{$item->title}</h3>" . "<span class='dates'>{$item->myCount} images</span>" . "<div style='clear:both;'></div>" . "</div>" . "</a>"; } $out .="<div style='clear:both;'></div></div></div>"; return $out; } Thanks again!
  11. Hi Horst! Excellent questions — I've got pages with two different templates: artworks, and subjects. On the artwork pages, I'm using a page field (set to allow multiple pages using AsmSelect) to link to subjects. kixe — that does work, but the end result is still ordered by title, and I'm attempting to reorder the list by $artworks->count; from highest to lowest. I'll kick it around more today, thanks for your input!
  12. Hey folks, I'm attempting to order a list of subjects based on the number of pages (not child pages) that link to each subject. The end result will look like this: portrait — 120 items landscape — 78 items trees — 42 items beards — 8 items etc. I've been digging through the archive here, but I can't seem to find a solution. The issue is that I'm using wire('page')->find to get the list of subjects, and then getting the number of linked items inside the foreach — here's my code: $subjects = wire('page')->find("template=subject, sort=title"); foreach ($subjects as $subject) { $artwork = rendersubjectArtworkList(findartworks("subjects=$subject, limit=1")); $count = findartworks("subjects=$subject")->count; } I can't figure out how to either combine my queries or re-sort the list after the call. Any ideas? Thanks so much for any help!
  13. Hey Can - I know it's been a while since you set this up, but I'm wondering where you added the Codebird code - was it a modification to the SocialTwitterUpdate module, or did you add it to one of the admin templates? Thanks!
  14. Hey folks, I'm looking to implement the Google Maps Store Locator library to create a "Find Locations Near You" page for my site. I'm using the MapMarker fieldtype to create my locations, but I'm not sure how to connect my location data to the storeLocator.DataFeed The examples provided for the Store locator fetch data from static CSV files or web services. Any thoughts on how to hook things up? Thanks so much!
  15. Hey all - I've got a new question concerning the image resize timeout discussed here: https://processwire.com/talk/topic/3718-lots-of-images-to-resize-timeout-in-frontend/ https://processwire.com/talk/topic/7744-image-width-function-timeout/ But the problem I've run into is that when the timeout occurs, it corrupts or doesn't properly build the resized images. I need a way to force the resize to run again, preferably just for the damaged/missing images. You can see an example of the missing images here: http://arthistoryproject.com/artists/ferdinand-hodler/ - scroll down in the right and check "Autumn Evening" - the image name has been created, but the file is broken Any ideas? Thanks so much!
  • Create New...