Jump to content

Neue Rituale

Members
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    1

Neue Rituale last won the day on May 3 2021

Neue Rituale had the most liked content!

Contact Methods

  • Website URL
    https://neuerituale.com/

Profile Information

  • Location
    Berlin

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Neue Rituale's Achievements

Jr. Member

Jr. Member (3/6)

73

Reputation

  1. Version 1.0.4 - Optimize updateAllFeeds method.
  2. The module provides a paths under which cronjobs can be registered. It lists all registered cronjobs and can execute individual ones manually. The last execution, the last status and, in the event of an error, the last error message are displayed. Download & Install Github: https://github.com/neuerituale/ProcessCronJobs Modules directory: https://processwire.com/modules/process-cron-jobs/ Composer: coming soon
  3. @Gideon So Yes, the module requires PHP version 7.4 or higher. I will show that more transparently in the next version. You could replace the line with this one private $essence = null;. But I think there will be more incompatibilities to php@7.1.
  4. Thanks for the great modules. Maybe this was answered, unfortunately I didn't find anything about it. How can I remove or overwrite the routes from "DefaultRoutes.php"? I have already tried it with this: $module = $this->wire('modules')->get('AppAPI'); $module->registerRoute( 'auth', [ ['OPTIONS', '', AppApiHelper::class, 'noEndPoint'], ['GET', '', AppApiHelper::class, 'noEndPoint'], ['POST', '', AppApiHelper::class, 'noEndPoint'], ['DELETE', '', AppApiHelper::class, 'noEndPoint'], ] ); Unfortunately, they are still accessible and functional.
  5. Are you sure? I thought only when personal data is transferred. (e.g. in cookies). By the way, here is a basic example of how to store the oembed image in a separate image field. In this example, the field name is "mediaImage". But i think it is a good idea to integrate this as a feature of FieldtypeOembed.
  6. Yes, the developer needs to take care of it. We use it in different ways. One variant works with the template tag. For this, the content from `html` is wrapped in a `<template>` tag. Instead of the content, a message is displayed that refers to the external content of its respective provider. After clicking, the content of the template tag is appended into the DOM with JavaScript. Here is an example: https://koerber-stiftung.de/en/projects/the-berlin-pulse/highlight-the-berlin-pulse-digital-tools-give-repressive-governments-the-upper-hand/#s18430 Another way is to insert the `html` (iframe) of videos (Youtube or Vimeo) via the nocookie domain or with dnt=1 parameter into Plyr. The embed data can also be used to configure the video player and placeholder (poster image, duration, aspect ratio). The click on the play button is then also the consent. Data is then also sent via the "normal" youtube domain. The advantage of this method is that it only requires one click (trusted click) because the html is already initialised. https://koerber-stiftung.de/mediathek/debattle-das-wortgefecht-4/ Another feature is you can find pages by OEmbed properties like:`$pages->find('my-embed-field.providerName=YouTube')`
  7. Version 1.1.6 Fix issue #6 TypeError Wire Oembed class Update Readme
  8. Version 1.0.3 - Update composer file - Optimize library loading - Update library versions - Optimize backend preview
  9. Version 1.1.5 - Fix issue #4 - update composer file - fix dependency loading - cleanup code - Add field setting for skip errors - Add hook example in README
  10. Version 2.0.3 - Add GraphQL modules for PageTable and PageTableNext - Add composer file - Optimize vex loading - Add GraphQL examples to readme - Fix issue #4, reduce module dependencies
  11. Maybe this can help. It work like the original `$datetime->formatDate()` Method. wire()->addHookMethod('WireDateTime::formatIntlDate', function(HookEvent $event) { $value = $event->arguments(0); $format = htmlspecialchars_decode($event->arguments(1), ENT_QUOTES); // support placeholder in time format like 'o''clock' if(!$value) { $event->return = ''; return; } if(!strlen("$format")) { $event->return = (int) $value; return; } // unix timestamp // create datetime $dt = \DateTime::createFromFormat('U', (int) $value); if(!($dt instanceof \DateTime)) { $event->return = (int) $value; return; } // set timezone if($this->config->timezone) $dt->setTimezone(new \DateTimeZone($this->config->timezone)); // locale $locale = setlocale(LC_TIME, 0); // format $event->return = \IntlDateFormatter::formatObject($dt, $format, $locale); }); echo $datetime->formatIntlDate(1678010433, \IntlDateFormatter::LONG); // March 5, 2023 at 11:00:33 AM GMT+1 (en_US) // 5 March 2023 at 11:00:33 CET (en_GB) // 5. März 2023 um 11:00:33 MEZ (de_DE) echo $datetime->formatIntlDate(1687453200, __("ccc, d. MMM y hh:mm a")); // Thu, 22. Jun 2023 07:00 PM (en_US) // Translated in German: "ccc, d. MMM y kk:ss 'Uhr'" // Do, 22. Juni 2023 19:00 Uhr (de_DE) You can find all date field symbols here: https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
  12. Version 2.0.2 Fix Issue #2 Fix taglist for "Grouped add buttons" Add PW and PHP version requirements Add german translations ... and with hardcoded version number #3
  13. Version: 1.0.2 Add meta data to podcast model (subscription links) Add example rendering for podcasts and episode lists
  14. The new release (2.0.1) fix the publish and unpublish action.
×
×
  • Create New...