-
Posts
2,234 -
Joined
-
Last visited
-
Days Won
59
Everything posted by wbmnfktr
-
Just a bit of feedback: Tested the latest version on two different sites with both template sets I work with and so far no issue or unexpected behaviour. Awesome. Thank you!
-
@bernhard shows us how to do this with Custom Page Classes here:
-
There was a similar question a few weeks back and we got it fixed as written here: In your case this would probably look a little bit more like this: // define today $today = strtotime("today"); // make $yesterday match the saved date format // in this case: dd.mm.yyyy (depends on your settings) $dateForOurSelector = date('d.m.Y', $today); // get our pages $events = $pages->find("template=eventTemplate, limit=7, eventDateField>$dateForOurSelector, sort=eventDateField"); foreach($events as $event) { // do whatever you want } Slightly different approach but should do the trick.
-
Free tier email service for (very) occasional emails
wbmnfktr replied to joe_g's topic in General Support
Now that you say that I can remember this issue. Especially when sending mails. Absolute valid point! -
Hook issue after upgrading to 3.0.210 from 3.0.165
wbmnfktr replied to PWaddict's topic in General Support
It doesn't work in a clean installation either. So it's not your setup. It works pretty fine without the hook though. -
Free tier email service for (very) occasional emails
wbmnfktr replied to joe_g's topic in General Support
Look into Aliases in Google Mail - they should do the trick as well. There is a nice guide about it over on ImprovMX. -
That's awesome. I hope to have time tomorrow to check it out.
-
Free tier email service for (very) occasional emails
wbmnfktr replied to joe_g's topic in General Support
Everything that offers SMTP would fit here. In case you don't send hundreds of mails a week you could just send it from your server, or setup a very own mail account on your hosting and send mails - with WireMailSMTP of course. With WireMailSMTP you could use a lot of services via SMTP - even Mailgun. Some others would be Mailjet, Sendinblue, Sendgrid and some others. Some are easier to configure than others. I personally use Mailjet's free tier on small or personal projects. The limits are totally fine with 6,000 emails/month or 200 emails per day. In client projects I most often stay with Mailjet but on a paid plan starting at around 15 EUR/month. -
module PrivacyWire - Cookie Management & async external asset loading
wbmnfktr replied to joshua's topic in Modules/Plugins
Just a thought/idea but... Wouldn't it be a nice addition to make the cookie banner only show up when more than the "necessary cookies" group is set in the settings? At least in Germany (which is super strict in terms of cookies and such) you don't have to accept those but only additional tracking cookies or whatever 3rd party-cookies. Do I miss a thought here? Or would this be a great addition for all? -
That's what we call development here. ? A quick try for now... and it seems to work. I will try it with the old code tomorrow and let you know. Don't worry about this! I got it fixed with a different markup already. But so, if the fix works out well, this feature and most default MJML templates will work again.
-
Ok, so not a setting, but Regex magic. I'll look into it and will see if this fixes the issue. If so I might send you a pull request. It's not that urgent as the 1.1.2 runs pretty fine still. Update: Formatting works fine now with this change. ✓ The issue with <mj-body background-color="#efefef"> seems to come from L:366 and L:413.
-
[deprecated] Howto: Use RockFrontend's footerlinks
wbmnfktr replied to bernhard's topic in RockFrontend
Ok, that's perfect this way. Especially in existing projects in which everything is already defined and in place. -
[deprecated] Howto: Use RockFrontend's footerlinks
wbmnfktr replied to bernhard's topic in RockFrontend
In version 2.9.1 I have to manually enable this feature and others. Will this be enabled by default now? -
Yeah... that's what I meant. It works, but it's not nice at all. Well I was just kidding with that thought but... the benefit of a ColorPickerCombo would be that client's can't display yellow text on blue backgrounds just because they have seen it in PowerPoint. Instead they could only choose from white/blue, white/orange, red/black or any other combo from the presets. You could even use that for simple gradients of some kind. But don't take that too serious.
-
So... the main difference to already existing color pickers here is the ability to give a preset of available colors? That's nice. Feels more natural to select a visible color than just something with the label "blue" from a dropdown. Next version is RockColorPickerCombo in which we can define foreground and background color combos? ?
-
Seeing your previous post and looking at the issue I currently face, there still seems to be something different in version 1.1.4 compared to 1.1.2. It almost seems like my problem is the exact opposite of yours. Is there something I'm missing here? A new setting that's not within the module settings maybe. Almost identical template code but with version 1.1.4 formatted text misses quite some spaces. Even some totally valid MJML like <mj-body background-color="#efefef"> causes an issue which forced me to rewrite some wrapping to get the desired look back. And of course: Happy New Year!
-
Strategies for including google places reviews
wbmnfktr replied to Stefanowitsch's topic in Dev Talk
Won't say anything about how I do or would handle this particular topic but... -- I AM NOT A LAWYER -- In regards to ... 3.2.3 (a) (i): this seems to be the only part that would apply to the module's purpose by quite a far stretch. 3.2.3 (b): I found this: https://cloud.google.com/maps-platform/terms/maps-service-terms which would allow caching some data for about 30 days, BUT it brings me to another questions: Do the Google Maps terms apply for reviews? 3.2.3 (c): this has almost nothing to do with reviews or this module. So... which API are you using? Is it the classic Google Maps API or some sub-API or maybe even Google Business (Review) API? Which API keys would I need to use your module? -
PW 3.0.209 – Core updates and an AI that knows ProcessWire
wbmnfktr replied to ryan's topic in News & Announcements
Enjoy New Years Eve! and have a Happy New Year!, Ryan. -
Latest favourite sets. (maybe the Klangkuenstler set was posted already)
-
Happy Holidays & Merry Christmas!
- 3 replies
-
- 10
-
-
The one that comes to mind is Mapbox. I don't know if here Maps are still a thing or even available for websites. Maybe there will be something in 2023 by Meta, Microsoft, AWS and TomTom. The one that comes with the module. It works perfectly fine without issues for me. Ok, sometimes there aren't any results for addresses but thats an OSM issue and their lack of data. It's weird that your experience is so much worse than mine. I'd look for alternatives in your case as well. That's not fun when there are so many issues. Probably. Geocoding addresses is needed by quite a lot. There should be a solution somewhere. Google Maps API with its free credits each month should do the trick just fine. Or are there hundreds of thousands requests each month you have to handle?
-
Strategies for including google places reviews
wbmnfktr replied to Stefanowitsch's topic in Dev Talk
Well... it depends. You get a credit of about $200 each month to work with some APIs. When you reach those limits you should have enough business to pay that small fee. ? Fun aside... grabbing all the review data via API and storing it as pages would make the most sense here. Check the Google My Business API. That seems to be an easy way to get all reviews. https://developers.google.com/my-business/content/review-data#list_all_reviews If I remember correctly there was yet another API that allowed getting reviews. But can't find it right now. Those WordPress plugins... I always wanted but never took the time to download and explore them. It's plain old PHP so it should be kind of easy to take them apart. I personally grab the reviews (or some of them) manually and update them once in a while. This way I (or the client) have full control on what's listed on the site. Adding a link to the real review and the full business entry on Maps. That works pretty well. -
The only thing you really need here is the inputfield that handles all the address to lat/long work and that works perfectly fine. You shouldn't hide it in a tab or collapse its fieldset per default, as that backfires a bit and the map doesn't initialize somehow. On the frontend it's easy to build the necessary parts by hand which you probably do anyway - or at least I do/did in the past. To handle all the necessary files and make it work with cookie banners. As an alternative for the backend there is still the Google Maps version available to get the lat/long data.
-
Either I'm missing an important detail or ... // define yesterday $theDayBeforeYesterday = strtotime("-2 day"); // get our pages $reallyOldEvents = $pages->find("template=template, date<=$theDayBeforeYesterday"); foreach($reallyOldEvents as $oldEvent){ // let's do something with it // maybe we put them into an archive // and delete all of them in 2 years // rather than now. } Does this find your events prior to yesterday?