-
Posts
38 -
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 (3/6)
78
Reputation
-
Hi Teppo, Would it be possible to make the 'isRepeatableField' in Indexer.php method hookable. I would like to attach our FieldType 'FieldtypePageTableNext'. That would be great. ?
-
Hello @TomPich, if I have understood correctly, you are looking for $value. $page is the page on which the sections are created, $value is the section page (@see ___renderValueWrapper() ). The :root properties in css must also be defined in :host for the shadow dom. :root, :host { --color-white: #fff; --color-light: #F5F5F5; --color-gray-light: #EEEEEE; --color-silver: silver; }
- 8 replies
-
- 1
-
- fieldtype
- inputfield
-
(and 2 more)
Tagged with:
-
Hey @kongondo, will Padloper be developed further and when will it be available again?
-
Version 1.0.4 - Optimize updateAllFeeds method.
-
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
-
@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.
- 17 replies
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
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.
-
Good to know. ?
- 17 replies
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
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.
- 17 replies
-
- 1
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
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')`
- 17 replies
-
- 1
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
Version 1.1.6 Fix issue #6 TypeError Wire Oembed class Update Readme
- 17 replies
-
- 3
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
Version 1.0.3 - Update composer file - Optimize library loading - Update library versions - Optimize backend preview
-
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
- 17 replies
-
- 1
-
- fieldtype
- inputfield
-
(and 1 more)
Tagged with:
-
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
- 8 replies
-
- 1
-
- fieldtype
- inputfield
-
(and 2 more)
Tagged with:
-
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