How to fix error messages while updating modules in Drupal 8?

I am getting the following error message while updating modules. Currently, I am running 8.7.4  version. Please help if possible so that I can ultimately upgrade to Drupal 9

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /batch?id=73&op=do_nojs&op=do
StatusText: 500 Service unavailable (with message)
ResponseText: The website encountered an unexpected error. Please try again later.

Thanks and regards

Use Media Types to manage additional assets such as ZIP, KMZ, DOC, etc.

Greetings all-

I have a plan that involves using the new Media Types in Drupal 8/9 tat would allow me to create a Media Type and display templates and options for additional assets such as ZIP archives, Google Maps KML/KMZ files, Word Documents and Excel Spreadsheets, etc.

Each Media Type would have its own fields and Metadata that could be used as text renderable output when items are to be embedded within content nodes along with templates that would format the links using Display/View Modes and templates to control the output.

Place block button doesn't do anything

In block layout, the place block buttons have stopped working. the loading icon appears next to the button after clicking for a moment and then nothing happens. I can right-click them and open them in a new tab, but there is no longer a popup like there used to be. I thought it had something to do with an error I was getting in regards to a custom block. After fixing it, the place button issue still exists. It's such a strange error I'm unsure where to go next to troubleshoot the issue. any recommendations? 

Thank you for the suggestions.

How to use web worker and web assembly on Drupal

I am planning to use hunspell spell checker that is built into a web-assembly .wasm file that is accessed/downloaded via a web-worker though a JavaScript.

I want to know, how can I do such a thing on Drupal? Where to put the required JavaScript and wasm files? Will it be usual library way or there has to be some other method?

Please let me know how can I proceed to achieve this.

Thanks in advance

Passing strings as parameters to views block

I have string that I want to pass to a Drupal block that I need to use in a contextual filter. In  a twig template I have a view that creates a simple list of the terms to use, extract the string from the result array as I loop around these results, mapping the required string to a variable that I pass as a parameter to another view block

{% set view-output = drupal_block('views_block:view1-block_1') %}

{% for item in view-output.content['#view'].result %}

Create a dynamic form (using views) for Drupal commerce or customer enqueries

Hello,

I used to use Commerce Add to Cart Extras for my views in order to add multiple items to cart

https://www.drupal.org/files/images/add_to_cart_extras_example.png

or using hook_views_pre_render I was able convert the product_id field into input field and then using JavaScript do the rest.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x