Jump to content

wbmnfktr

Members
  • Posts

    2,236
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by wbmnfktr

  1. Are you sure that's valid (marked in bold)? wire()->addHookAfter('Pages(template=temp_order_detail)::published', function(HookEvent $event) { // } I go with: wire()->addHookAfter('Page::published', function(HookEvent $event) { // } See here: https://github.com/processwire/processwire/blob/d78276e2c265f6b70384a13eb4febd4811a1db77/wire/core/Pages.php#L2197
  2. I am honest here @Jonathan Lahijani... I'm more than impressed. I know what ProcessWire can do but I didn't know what some could accomplish with it and this is such a BANGER! I don't think my clients could easily work with it, maybe a few after some introduction, but that's another story. The people from this community, I know a bit more, could probably easily maintain and build a site with this setup from scratch and customize it if needed - even though at least half of them don't really use UIKIT for websites or need and want to go a more custom route however. Still shocked to witness something like this while I still try to figure out why my textarea doesn't always gets updated in the live preview. :D
  3. First run. Installation and setup are super nice! First try. One click and straight into the preview. No hassle in a minimal setup. First feedback. My custom HannaCode (which was there for a previous test) doesn't show up. Where should we collect issues, requests and bugs? Update 2021-11-13 some tweaks in the Page Autosave module settings (switched to: Reload/refresh document) and everything works perfectly fine now. HannaCode, Repeater(Matrix) and various other content changes.
  4. Yes! Just downloaded it for tomorrow to play around with it. I have to thank you, @ryan!
  5. I'd really love to play around with this option to be honest. Therefore if possible... maybe you could add it to ProFields, ProCache, FormBuilder, LoginRegister Pro, Lister Pro, or ProMailer (in my case). Or... maybe add a ProLivePreview Beta for 5 USD to the modules. I'd buy it!
  6. I'm using this module now in a RepeaterMatrix block for $items (20+ pages/entries) and single $page (or $page->getForPage()) in this case as it's a repeater with a map. Within the single map the the zoom in my $options array doesn't do anything at all. $options = array( 'zoom' => '12', ); Anyone an idea why this is the case? Am I doing something wrong here? Within the map that contains several items, this option works as expected - or at least I can find the changes in the source code.
  7. wbmnfktr

    Right to know

    I really enjoy those data-driven sites. Nice work!
  8. I tried and wanted to build something similar a while back with just a click-through-path with some entry questions and possible solutions further down the path. Or a "funnel" if you will but the client decided no to establish such a guided "FAQ" like this because he couldn't provide the data that was needed. Which means the cases and questions or "stories". They didn't want to use something like Analytics or Matomo to track the most visited pages or sub-sections within their FAQ so guessing would have been the only way to go. In your case... if your client can tell, measure, analyse, collect and somehow get a bunch of those "stories" I'd say it's totally possible. In addition to that search queries from Google Search Console would be nice to what questions people had. If it's not something from the financial, health or similar niche it should be doable I guess. Only ever built a small prototype.
  9. Maybe I've said it somewhere before but this is such a nice timesaver, which is also transportable through projects. Great addition. Thank you @Macrura!
  10. I'm not 100% sure I understand you in full detail but there is a site profile (site-regular) in which Ryan uses reusable functions for all kind of things he needs and renders for that profile. In this case it's getuikit.com. Look at his _uikit.php over on Github to get an idea what he's doing there. https://github.com/processwire/processwire/blob/master/site-regular/templates/_uikit.php
  11. In short... you could just grab that value saved within your reference. <?php $myreference = $page->referencefield->email;
  12. Another thing I found in regards to this. If you, your client or maybe someone who does their SEO or SEM campaigns... most of the tools won't work that great right now. Some (maybe even most) imitate regular clients (browser namespaces and browser strings) therefore end on the gate page and can't crawl the rest of the whole page. So... they either have to manually change that, if possible, or they won't come that far or report wrong numbers. Nothing to worry about right now but to keep in mind. Update / An inofficial addition to this: maybe look up how adult sites deal with it. I can't (or don't want to) link to those pages here. Maybe even use DuckDuckGo for research here.
  13. Count me in!
  14. I honestly don't know why no-one is talking about this. PageHitCounter is already awesome but this in addition to it... WOW! Just installed it a few days ago on a side-project and some client projects, yet everyone is more than happy to see what's going on. AND... it's even GDPR/DSGVO-friendly for those that don't want to use Google Analytics or Matomo (ok... this isn't that detailed but we have trends and at least some insights). (even for low traffic sites a nice addition / running on PW 3.0.188-dev, Multilang)
  15. Yet another one with some basic PrivacyWire markup to make it slightly more GDPR/DSGVO-compatible... at least you need an opt-in for the video. !HannaCode:rumblePrivacyWire:eyJuYW1lIjoicnVtYmxlUHJpdmFjeVdpcmUiLCJ0eXBlIjoyLCJjb2RlIjoiXC8qaGNfYXR0clxudmlkZW9pZD1cInZscG9pNlwiXG5oY19hdHRyKlwvXG48P3BocCBuY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1widmlkZW9cIjpcIjw/cGhwIGVjaG8gJHZpZGVvaWQ7ID8+XCIsXCJkaXZcIjpcInJ1bWJsZV88P3BocCBlY2hvICR2aWRlb2lkOyA/PlwifSk7PFwvc2NyaXB0PiJ9/!HannaCode It doesn't render anything unless you opt-in for external media (cookies).
  16. And... you want to install HannaCodeDialog in order to make it easy for users to embed those snippets https://processwire.com/modules/hanna-code-dialog/
  17. Friend or client... both don't wanna pay money for features like that. :D I'd go with a custom HannaCode here. There are patterns in the rumble embed which make it quite easy. Here is an example: !HannaCode:rumble:eyJuYW1lIjoicnVtYmxlIiwidHlwZSI6MiwiY29kZSI6IlwvKmhjX2F0dHJcbnZpZGVvaWQ9XCJ2bHBvaTZcIlxuaGNfYXR0cipcL1xuPD9waHAgbmFtZXNwYWNlIFByb2Nlc3NXaXJlOyA/PlxuXG48c2NyaXB0PiFmdW5jdGlvbihyLHUsbSxiLGwsZSl7ci5fUnVtYmxlPWIscltiXXx8KHJbYl09ZnVuY3Rpb24oKXsocltiXS5fPXJbYl0uX3x8W10pLnB1c2goYXJndW1lbnRzKTtpZihyW2JdLl8ubGVuZ3RoPT0xKXtsPXUuY3JlYXRlRWxlbWVudChtKSxlPXUuZ2V0RWxlbWVudHNCeVRhZ05hbWUobSlbMF0sbC5hc3luYz0xLGwuc3JjPVwiaHR0cHM6XC9cL3J1bWJsZS5jb21cL2VtYmVkSlNcL3U0XCIrKGFyZ3VtZW50c1sxXS52aWRlbz8nLicrYXJndW1lbnRzWzFdLnZpZGVvOicnKStcIlwvP3VybD1cIitlbmNvZGVVUklDb21wb25lbnQobG9jYXRpb24uaHJlZikrXCImYXJncz1cIitlbmNvZGVVUklDb21wb25lbnQoSlNPTi5zdHJpbmdpZnkoW10uc2xpY2UuYXBwbHkoYXJndW1lbnRzKSkpLGUucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUobCxlKX19KX0od2luZG93LCBkb2N1bWVudCwgXCJzY3JpcHRcIiwgXCJSdW1ibGVcIik7PFwvc2NyaXB0PlxuXG48ZGl2IGlkPVwicnVtYmxlXzw/cGhwIGVjaG8gJHZpZGVvaWQ7ID8+XCI+PFwvZGl2PlxuPHNjcmlwdD5cblJ1bWJsZShcInBsYXlcIiwge1widmlkZW9cIjpcIjw/cGhwIGVjaG8gJHZpZGVvaWQ7ID8+XCIsXCJkaXZcIjpcInJ1bWJsZV88P3BocCBlY2hvICR2aWRlb2lkOyA/PlwifSk7PFwvc2NyaXB0PiJ9/!HannaCode Just import that into HannaCode and maybe add a safe default video ID. BTW... this is the video ID:
  18. You might have to dissect the rumble embed code to understands what's happening there in detail to make it work as either HannaCode or Repater/Matrix block. It's probably even better to fork the YouTube-embed textformatter and make it work with all textarea fields and maybe even the PrivacyWire module. Another option could be a snippet module or repeater-element/textarea in which you just place the embed code which then gets rendered as plain HTML/JS. Not that nice but possible. How urgent is that implementation?
  19. Yes and no. In my first test I added an image from the global image field (in the template, not in the RepeaterMatrix) to a textarea. I copied that textarea over to another page and the image was referenced. I deleted the origin (master-repeater) and the image was removed on the second page as well. Not broken due to the clean-up process in my textareas. In my second test I created a new repeater type with an image field. Added one to a page. Copied it over to another on and the image was moved over to an all new repeater-page (first repeater had ID 8083, second had ID 8084).
  20. In my setup it's a reference to the already existing file on another page (the origin).
  21. Hey @Wanze... just a short question or idea (if you will)... is there a function I can hook into whenever the sitemap is generated or updated in order to submit a PING to Google, Bing, or whatever? Looked into the module and couldn't find anything I could use. The closest was shouldGenerateSitemap() but placing a hook there isn't possible. My idea is, that whenever I use your module, I use it to find out if I need to ping Google whenever there was a sitemap.xml update. The ping-logic exists so far, but right now I use it most of the time just whenever a site was saved. Not perfect but it works. Could be a nice addition to the module itself. Either as hook or as feature.
  22. @Ross In case you love learning by doing and explanation: Web Dev Simplified https://www.youtube.com/channel/UCFbNIlppjAuEX4znoulh0Cw Kevin Powell https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw You might have to dig a bit in regards of your skills but those channels are really awesome. The first one has some really good free courses and the other one has some good insights. There are several more you can enjoy for free like: https://www.youtube.com/c/DesignCourse https://www.youtube.com/c/JesseShowalter https://www.youtube.com/c/FluxWithRanSegall You might want to watch them just to see whats possible and how some people do things. I'm in this business for 20 years, yet I really enjoy each and every video on these channels.
  23. Just pushed PW 3.0.188 and the RepeaterMatrix v8 beta to a side-project as it's a nice testing ground for this and it works perfectly fine. No errors or problems so far. The new icon option makes it super clean - if you want. Yet and empty entry with just an icon came up each and every time I updated the RepeaterMatrix field, even when I just opened it.
  24. This could be seen as cloaking by Google so be very careful doing things like that. More details here: https://developers.google.com/search/docs/advanced/guidelines/cloaking?hl=en&visit_id=637711928893360718-3584950016&rd=1 Feedback on this from Google in the past: Quite a nice read over on this blog about this topic: https://www.findabledigitalmarketing.com/blog/age-verification-gates-and-seo/
×
×
  • Create New...