composer not running with block_class update

Drupal 8.9.11

Have issues upgrading block_class from 8.x-1.2 to 8.x-1.3

My composer file and the prohibit cmd yield the following :-

grep block_class composer.json
        "drupal/block_class": "^1.0",

sudo composer prohibit drupal/block_class
drupal-composer/drupal-project  -  requires  drupal/block_class (^1.0)

From the above, I understand my lock file is specifying 1.0 (just reading from the json file), but if 1.2 is matched, so should 1.3?

Dependent filter values for search criteria in D8

Hello,

I would like to create a D8 module which will display a list of a given ContentType based on a filter method. Some of the filter elements are dependent on others. For example, talking about cars, if one selects the make Honda, he expects to find within Models <Civic, Jazz, CR-V etc> but not <A1, A2, A3, A4, A6> which corresponds to Audi make.

This is the main point of my question: how to create these dependent filter elements (for example all make and dependent models for cars) ?

Thank you for your advice.

COVID Response Project

Map of people in need

Peru was number 6 in the world with more than 800,000 COVID cases. Tragically Perú was also the world's deadliest COVID hotspot (deaths per capita) despite a severe lockdown. Thousands of Venezuelan refugees in Peru who normally made a living selling things on the street were left without any source of income and our aim was to help them through this crisis.

Sectors: 
Non-profit
Religious organizations

CSS in view

In the header of a view I have inserted a message to understand how to use CSS.
To show the writing on the right I use this code but without success

<p style = "float: right"> TRY </p>
Before putting it in the view I tried it in an html file and it works

Read Webform Action gives random string

Hi

I have a webform for which I need to get the action url inside a form_alter hook.
The hook is working OK for other things.

I've tried what appears to work elsewhere $url = $form['#action']; but it's giving me this random string!

form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM

Why would that be?

Track user page view

Hi , i want to track user page view and then i want to store the information in entity type . Please would you suggest my any solution. THnak you very much.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x