Jump to content

PWaddict

Members
  • Posts

    926
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PWaddict

  1. The module doesn't allow me to select my multi-language URL field. Please replace the 48 line with this to enable support for it: "searchVideoFieldTypes" => array("FieldtypeText", "FieldtypeTextLanguage", "FieldtypeTextarea", "FieldtypeTextareaLanguage", "FieldtypeURL", "FieldtypeURLLanguage", "FieldtypeTextareas")
  2. @adrian can you add support for YouTube playlist links? Example: https://www.youtube.com/playlist?list=PLdyYtz46NolYSyIlOVgzKc2mpFSQhi8Ho
  3. @kixe can you please update the module to display the warning "SetupPageName expects value in field 'my_field' to autogenerate Pagename" ONLY on debug mode? It's not user friendly and it can confuse site editors who have no idea about these stuff as it displayed instantly when adding a new page. Replacing the 236 line with this would do the trick: if ($warning === true) $this->warning(sprintf($format_warning, $format), Notice::debug);
  4. Timezone names are not installed on shared servers. That's why I'm detecting DST with php and set the proper offset time on database.
  5. Here is the proper solution: // site/config.php date_default_timezone_set('Europe/Athens'); if (date('I')) { $config->dbInitCommand = "SET NAMES '{charset}', time_zone = '+03:00' "; } else { $config->dbInitCommand = "SET NAMES '{charset}', time_zone = '+02:00' "; }
  6. Now that DST is active my solution doesn't seem to work. I'm still getting the non-DST value.
  7. I fixed it. @Robin S update the css rule with this: .Inputfield_service_rows .header-row > label:not(.ui-state-error) { background:#29a5aa !important; }
  8. Nice tutorial but there is a small issue. Pressing the trash icon in the items we modified the color doesn't turn it to red and this might result in confusion for non-superusers.
  9. Thanks for this useful module. I've limited the whole frontend with the rule: testing??template!=admin but If I type a non existent url it will display the 404 page instead the replacement markup.
  10. @Robin S If a repeater doesn't have any items, the "Add New" link is still visible. Can you please add an option that will allow us to hide it?
  11. If I remember correctly, on the notes of "Name format for children" should have a "More" link that leads to documentation. At least this is how it's done with the ProcessSetupPageName module.
  12. Are you testing it in a multi-language site? Maybe the locale is causing this issue.
  13. If you replace "date(U)" with just the string "test" what will be the result?
  14. If the output of the name is 11am28australia-brisbane-1549849103 you obviously using more options in "Name format for children" than just "date(U)". For example how "Australia" or "Brisbane" injected?
  15. date(U) is working fine for me. It only adds the timestamp although I have installed ProcessSetupPageName module which expands "Name format for children". If you want try it but before that double check that you're using ONLY date(U) on "Name format for children". Maybe you have a custom hook forgotten on init.php or ready.php that manipulates the name on that template?
  16. @elabx Can you please write a tutorial with the related code on how to implement OneSignal with PW?
  17. Will push notifications cause trouble on shared hosting websites if all sent at once? Maybe an option would be great to send notifications for example in batch of 50 per x minutes?
  18. Have you checked out Foxpush? The free plan has unlimited subscribers. Maybe overall has better features than PushAlert?
  19. Is the bellow error referring to the resmush.it server?
  20. Now it optimizes the CI3 crops in auto mode. Thank you. The "Optimize on API resize/add" option is probably buggy? Sometimes I'm getting this error in the logs:
  21. Maybe @horst can help you?
  22. Go to a CI3 image field. At the bottom of the Input tab there are the Crop Settings where we can add for example: thumbnail,1200,600. So when you upload an image that CI3 crop is automatically generated along with it's tiny variation 48px. And as you can see from the logs only that tiny CI3 48px is optimized in auto mode. Please don't forget the 2nd problem: On the cropping screen of CI3 when I press the button "Proceed Crop" there is no indication that the image is currently optimizing.
  23. It's fixed. Thanks. The CI3's automated variation from the "Crop Settings" is still missing from the logs.
  24. No. On the screenshot are the logs I'm getting when upload an image. It seems that it's missing the CI3's automated variation from the "Crop Settings" but instead it optimize PW's automated variation twice.
  25. I was getting errors on backend with this as first line in ready() method. I just placed the below code at the bottom of the ready() method just like 1.1.1 and it works: // optimize images in auto mode on resize if(isset($this->configData['optAutoAction']) && !$config->demo && (in_array('optimize_variations', $this->configData['optAutoAction']) || in_array('optimize_variationsCI3', $this->configData['optAutoAction']))) { $this->addHookAfter('ImageSizer::resize', $this, 'checkOptimizeNeeded'); $this->addHookAfter('Pageimage::size', $this, 'optimizeOnResize'); if($this->wire('modules')->isInstalled('FieldtypeCroppableImage3') && in_array('optimize_variationsCI3', $this->configData['optAutoAction'])) { $this->addHookAfter('ProcessCroppableImage3::executeSave', $this, 'optimizeOnResizeCI3'); } } There are 2 issues: 1. The 260px variation gets optimized twice as I'm getting 2 logs for it with 1 second difference. 2. On the cropping screen of CI3 when I press the button "Proceed Crop" there is no indication that the image is currently optimizing.
×
×
  • Create New...