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

Prevent duplicate View results

Hi All, 

I am using view to get content related to taxonmy term. But its end up with duplicate content. I tried distinct and aggregate but both doesnt work. Any idea thanking you in advance.

custom module created, but anonymous visitors can visit the route.

One of our custom modules seems to be open. If I go to www.domain.com/admin/config/importer as an anonymous user, I can see the page isntead of getting prompted a password. Any suggestions?

custom_import.settings:
  path: '/admin/config/importer'
  defaults:
    _form: 'Drupal\custom_import\Form\CustomImportSettingsForm'
    _title: 'Custom Import Settings'
  requirements:
    _permission: 'access content'

Date filter in views

I have a views with a date field.
In the filter criteria I chose the exposed date field, I thought it would display the date widget, instead it displays a text field. Is it possible to display the date widget?
Once the date has been chosen, it should display the transactions only for that date or all dates greater than or equal to the one indicated

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x