Drupal8 - Ckeditor - different image alignement and sizing when Media Library vs Insert image

Hi,

It's been really a long time since the last Drupal usage.. So I do not remember very basic configurations.

Please advise on the following.

Drupal 8
Theme: child theme of Bartik

When using Ckeditor in order to insert image to the content, the final image behavior is different depend on the way image was inserted.

CKeditor - Isert from media library vs Insert image - different image locations

Hello,

When using CKeditor Insert from media library all the previously uploaded images could be accessed from same place.
But when uploading the image throught the Insert image, same image later could not be seen under Insert media library.

Is it a normal behaviour?
Is there any option to configure Insert from image to have same location images as Insert from media library?
Where exactly I could configure those path locations for both features?

Thank you

Plugin not found exception

I am trying to move my working Drupal 8.8.2 site to the new composer.json template. I started from scratch following https://www.morpht.com/blog/drupal-and-composer-part-2-managing-drupal-8-site-composer

But that of course does not move my site content, so here is what I did:

How to list views with "Broken/missing handler" errors ?

Hi, in Drupal 8 views (I really have a lot), it often happens that the message below is displayed :

Broken/missing handler

https://ibb.co/XJzn2G9

Is there a way to list all the views in error? Or should I check them one by one ?

Thank you

Unknown Field randomly occured

Hello, 

In my application running on Drupal 8.7 and PHP 7.2 i have random errors of "Unknown field", bellow the error i'm seeing in my logs : 

Field XX is unknown." at /var/www/core-model/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php line 587

The field exist in a taxonomy term, when the error occure i go to "Manage  Fields" of the Taxonomy and i can't find the field and after refreshing the cache (i'm using Redis cache) the problem is solved and the field come back again.

How to display a text if the product belongs to a store of defined type ?

I have a Drupal 8 site with Drupal Commerce 2

I have a template for my product commerce-product--produit--full.html.twig

I have 2 types of store (1 and 2). I want that when the product is in a type 2 store, it displays the text "test".

If the product is in a type 1 store, it displays nothing.

How do I do this in TWIG ?

{% if ??? %}
  test
{% endif %}

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x