Jump to content

Neue Rituale

Members
  • Posts

    10
  • 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)

28

Reputation

  1. Hello @Flashmaster82 we fix it in version 1.0.2.
  2. Subscribe Podcast RSS feed and save as something you want. The additional example module ProcessPodcastSubscriptionsEpisodes create new pages per episode. Download/Install Github: https://github.com/neuerituale/ProcessPodcastSubscriptions Module directory: https://processwire.com/modules/process-podcast-subscriptions/ Composer: composer require nr/processpodcastsubscriptions
  3. // If fieldname "geocoder" echo $page->geocoder->lat; echo $page->geocoder->lng;
  4. Hi Guys, i want to get a hooked page property into my graphql schema. Does anybody know how i can configure/implement this? /* the examble from https://processwire.com/docs/modules/hooks/#how-can-i-add-a-new-property-via-a-hook */ wire()->addHookProperty('Page::intro', function($event) { $page = $event->object; $intro = substr(strip_tags($page->body), 0, 255); $lastPeriodPos = strrpos($intro, '.'); if($lastPeriod !== false) $intro = substr($intro, 0, $lastPeriodPos); $event->return = $intro; }); I am playing around with the getQueryFields-Hook but I don't know what to do next: wire()->addHookAfter('ProcessGraphQL::getQueryFields', function ($event) { $types = $event->return; foreach($types as $type) { if($type['name'] === 'mytype') { /** @var ObjectType $pageType */ $pageType = $type['type']->getField('list')->getType()->getOfType(); $fields = $pageType->getFields(); // ???? // and here i will add some fields } } $event->return = $types; });
  5. Retrieve, collect and store geolocation data from external geocoding services. Under the hood, the module uses the great PHP Library geocoder-php by William Durand and Tobias Nyholm and adds some processwire magic. Download: Github: https://github.com/neuerituale/FieldtypeGeocoder Module directory: https://processwire.com/modules/fieldtype-geocoder/ v.1.0.1 - Add support for GraphQL-Module by dadish v.1.0.2 - Support Repeater
  6. We add support for ProcessGraphQL with the additional module GraphQLFieldtypeOembed.
  7. https://github.com/neuerituale/FieldtypeOembed or in the modules directory: https://processwire.com/modules/fieldtype-oembed/
×
×
  • Create New...