Add new subfield to existing compound field(custom field type)

I have created a compound field with 2 subfields (title, body). Now I need to add another subfield (Footer) to the same compound field.

Though I have added the new field definition in all required places (propertyDefinition,schema,formElement), field is not getting created in the table. How to achieve this? Kindly help me on this.

Views filter exposed

In one views I have an Entity Reference field. In the filter criteria I inserted an exposed filter to filter the rows based on the written data.
In the filter identifier report this field (field_richiedente_target_id), I changed it to "field_richiedente_entity_label", but without success. Could you tell me how to search by description and not by ID?

Views with aggregation

I've tried aggregation, it works and it's comfortable. I have a greater and more complex need.
In the views I have 2 content types. Each with a numeric field.
The aggregation should display the total by content type and then calculate the difference between the 2 amounts.

I would like to make it programmatically. Can you route me to suggesting what to read?

Problems with large decimal numbers in content fields

Hello everyone!

I'm currently working on a website that is used to bring up data on coronavirus for a French scientific team... and that says scientific website, says website with big numbers!

I have created a type of content with decimal fields that have a precision of 32 digits in total, with 10 digits after the decimal point (the maximum in drupal). But when you try to fill in these fields, a message saying "'field name' is not a valid number" sometimes appears.

Problem number 1 is that a number within the limitations may not be accepted.

hook_rest_resource_alter !

hey guys .
How can I use this hook "hook_rest_resource_alter" to display the Term labels when getting content with nid in rest full?

Twig/Theming

I need some help with some Twig/Theming.

I know I can just Hard Code the information into the page; but that kind of defeats the point of using a CMS. I know that in a Twig template, I can lay out the HTML, and then use

{{ page.content }}

or whatever block, to have Drupal insert a block/page/etc. in that place. What I am unsure on, and haven't been able to find anything via Google about is this:

I am doing a list of people on a page. I have created a content type, which includes

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x