how to create on demand image style derivatives for a decoupled drupal site over the frontend domain

Context
we've build a decoupled drupal 8.x website on a Ubuntu 18.04 with apache as follows

backend
backend.domain.com
(a drupal 8.max install)
frontend
frontend.domain.com
(a next/react install)

vhost
frontend.domain.com proxies to the next app
the next app calls the drupal install via json (json api and custom endpoints)

Building a Breaking News Website with Decoupled Drupal & NextJs

Ip Showcase

On October 17th 2020 we went live with "Información Periodística" (IP https://ip.digital) the website for a new Breaking News TV channel in Argentina that started transmitting this Saturday. The site was built in a little over two months and is still an MVP but it already shows a lot of potential. The client had a lot of challenging requirements:

Sectors: 
Media
Publishing

Data field in form alter

in form alter I have to take the value of a date field
the code I use is this

$a = $form['field_data_rientro']['widget'][0]['value']['#value'];

but I don't get any results. I saw the array with Kint but the '#value' key is missing
How can I go about getting the value of the Date

Translation of Custom menu link activation impossible!

Hi

I hope I'm not in the wrong part of the forum.

I simply cannot activate the Custom menu link translation under admin/config/regional/content-language.

I have activated other elements... See printscreen

I have a few modules, and maybe the one that could be a problem il Domain Access.

Any idea how to do it?

How do I hide/disable "filesize" information shown on tables @ bootstrap

I have created a subtheme based on bootstrap 3 on Drupal 8. I do not want the bootstrap's table style show the file sizes. So, how do I remove it from there?

Note: I am not a tech-savvy person, therefore a detailed explanation would really be appreciated.

Thanks!

How to iterate image field having multiple images in in views-view-fields.view-machine-name.html.twig?

Hi,

I have a field for slider images, I want iterate all images in views-view-fields--view-machine-name.html.twig, currently I am only able access raw html using {{ field.content }}.

I tried following, but no luck!:

{{ field.items }}
{{ field['#items'].list }}

See screenshot here https://prnt.sc/v2654o, getting empty list.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x