Jump to content

adrian

PW-Moderators
  • Posts

    11,263
  • Joined

  • Last visited

  • Days Won

    374

Everything posted by adrian

  1. Are other html emails from your system (sent with a wireMail) working as expected? In other words, is it only emails from this module that are the problem?
  2. What about the email provider? Can you try to a gmail address to confirm the problem?
  3. @bramwolf - does it make a difference if you use a different email client? What are you using?
  4. https://github.com/processwire/processwire-issues/issues/896
  5. I hadn't looked - thanks for posting that - it's pretty clear from that @todo that Ryan know about this and that it needs fixing. Obviously calling findOne() if it's a selector isn't enough to get it to return NullPage as things currently stand, but this really should be fixed because with the current behavior you can't simply do a normal: if($result->id) on an in memory selector that returns no results because of the null vs NullPage - this has annoyed me for a long time ?
  6. Thanks for chiming in! Here are some more outputs which I think help to back up the assertion that it should return a NullPage
  7. What does everyone think of this? Shouldn't they both return NullPage? I'd love to hear your thoughts. Thanks!
  8. Not testing in the context of this module, but this looks to work as expected: Does that work as expected at your end?
  9. I don't know - we'd have to get @Pete's input on why that was done, but if you want to put together a PR to add a module setting where these can be configured, I can push to the main repo.
  10. Did it create the WEBP version? Maybe the JPG was smaller so it served that up instead. In my limited experience, it's quite common that the webp version is actually larger :)
  11. It doesn't seem like this is necessary anymore - not sure if the change happened on this update: https://processwire.com/blog/posts/processwire-3.0.107-core-updates/
  12. Sounds like what you are looking for doesn't really fit with this way this module is designed to work. You might be better off with https://github.com/matjazpotocnik/DynamicRoles although I do find the approach used in that module a bit weird and maybe not very efficient with a lot of pages.
  13. New child pages of a protected parent will be protected by default if you have the protect child pages option checked.
  14. @PWaddict - not sure when that started happening, but should be fixed now.
  15. Not sure why you are seeing that. What are the settings for your images field?
  16. Probably, but the approach will need to be different and I should also add vimeo support for this as well, so it's a bit of work. I won't have any time for this for a while - any chance you'd be willing to tackle it and submit a PR?
  17. Done, but I modified to allow all fields that extend the Text field type.
  18. @szabesz has to be the most generous here on the forums. Look at the given count, and that is since the end of 2015!
  19. This works: $this->addHookAfter('Pages::cloned', function(HookEvent $event) { $p = $event->arguments(1); $p->created = time(); $p->save(array('quiet' => true)); }); This doesn't handle "modified", but for my needs I don't need that because publishing the newly cloned page will adjust that automatically then. But, if you do, you could add this to the hook: $sql = "UPDATE `pages` SET `modified` = NOW() WHERE `id` = '".$p->id."';"; $this->wire('db')->query($sql);
  20. Thanks for your thoughts @wbmnfktr - it's actually weird to me that the core module is called "Clone" but the page list action button is called "Copy". I kind of agree with clone having the same dates because a clone should be identical, but I also don't think that in reality anyone actually wants a clone in the end - usually it's just a quick way to start a new page from existing content and modifying it to your needs after that. An option for changing the behavior might be a decent approach to the problem. Anyone else have any thoughts? I think in reality I'll probably end up hooking into ___clone or ___cloned and adjust "created" via SQL (or the quite save option) because I don't honestly see that Ryan will want to change the current behavior.
  21. The current behavior is that the created and modified dates are brought across to the new page, but I wonder if this is expected / desired behavior. For my current use, I'd prefer they weren't but before submitting an issue I'd like to know what others think. Thanks!
  22. @BitPoet - enjoy the PCT - I have only done Tuolumne to Sonora Pass, but it was incredible. I am sure the entire thing will be an amazing experience!
  23. Yeah, but html5.validator.nu is down and validator.w3.org/nu doesn't work with the panel for some reason, so there is really only the checker.html5.org option anyways ?
  24. With the way the panel sends the HTML and parses the returned result, it needs to use a https://validator.github.io/validator/ based service. There are a few, but you can't use all validators that are online, because they aren't all based on nu validator.
×
×
  • Create New...