I have a little php-script that shows when people where born on my https://fredbaltus.nl (lower right corner) page. I want to put that script also in a block on my drupal-page, but despite all the examples it is not easy for me. I can understand it better when i see a sample with my own php-code. Who can help me?
I'm having a problem with images after WebP module was installed and images being processed for the first time.
What do I get: image appears for a second and crashes. Console gives this error: net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK).
This happens only when image is loaded (uploaded) for the first time.
Image gets the .webp format and it's Content-Length becomes smaller but the browser still tries to get the bigger Content-Length - from the original image format.
Hi im tring to make custom module calling an event from commerce invoice
Im trying to make different pattern for the invoice in Drupal 9. I have products with two kind of price one is for particular and the other one is for profesional.
I would like to have two pattern number for the invoice, for particular 22-ES-00001 and for profesional 22-ES-P-00001 and also for different country.
I posted an issue and one guy tell me to use the event INVOICE_CREATE and INVOICE_PRESAVE.