Drupal 8 + views rewrite field + json datas + get value

Hello,

i have created a content type with a json field (JSON/JSONB Field module).

When I created a node I insert datas with a json format inside this field, e.g. :

<code>

The content directory type 'sync' does not exist

Hello, 

Please i have a have a probleme with module content syncro , after i have installed it, this error was appeared

"The content directory type 'sync' does not exist"

I already have variable config_directories in seetings.php, and i attribute rules to this folder 777 

$config_directories = array();

$config_directories['sync'] = 'sites/sync';

Thank you in advance

Drush on windows, not recognized as an intern al or external command

I have installed composer and drush and i get this error:

C:\xampp\htdocs\drupal>drush status
'C:\xampp\htdocs\drupal/vendor/drush/drush/drush' is not recognized as an intern
al or external command,
operable program or batch file.

How cand i solve this problem?

When i run same command from user directory, it is working:

How to display all media that references a taxonomy term and all its descendents?

On a taxonomy term's page, how can I display all media that references that taxonomy term and all its descendents?

Specifically, I have a "location" field on my media items. Here is an example excerpt from my Location vocabulary:

Asia
--Indonesia
----Bali
------Padangbai

Loading Google Client dependency from the vendor directory in a migrate configuration

Hello,

i have installed the Google PHP Client with composer: composer require google/apiclient

Inside a migrate configuration (yaml file), I want create a new Google Client for authorization with: $client = new Google_Client();

But, I get this error:

<code>

Error : Class 'Drupal\mymodule\Plugin\migrate\source\Google_Client' not found in Drupal\...

</code>

I have tried to add these lines at the top on my migrate configuration:

<code>

CDN on Azure setup? D8

I've set up a CDN endpoint on Azure and have populated the CDN settings in Drupal. The URLs for files are being rewritten but I'm still getting 404's for the assets. It's been live for 4 hours. Does anyone have any information on how to set up the CDN module to use Azure? There's not much to configure but I can't seem to get it to work.

cdn.settings.yml

UPDATE: Resolved, it was an issue with the origin host header not matching.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x