Drupal is up and running but how do I ...?

Drupal core warning

hello im new to drupal , i have just and installed it and set it up, everything seems to be working fine but i have this error :  

No available releases found Only local images are allowed.

drupal 11.0.1

Views - How to pass multiple terms contextual filters by URL

This is my first time attempting such an approach, so don't insult me ;-) 
I am trying to figure out how to pass multiple contextual filters (terms) by path to a view.

Altering NIDs values and the sequence generating them?

I found myself asking for bulk deletions of nodes and bulk creations of nodes (by importing data from a csv file).

As a result, a large number of nid values - the ones belonging to deleted nodes - are no longer in use, leaving a significant gap in the sequence of nid values for the remaining nodes.

I saw someone quite some time ago had already wondered how to handle the database sequence in this case. I haven't found a safe solution yet.

Should I just give up and live with that sort of waste of values I saw?

Thanks in advance!

Andrea

When you need to run Composer command?

Hi.

The manual recommend using Composer for Drupal 10.

When I removed some module from UI of my website,  composer.lock and vendor/composer/installed.php still has the name of the module and its dependencies. So I have to run composer remove drupal/MODULEMACHINENAMEto solve the issue.

Is this normal process to need to run composer from terminal when you have removed/installed modules on the website?

CountryManager list cached?

A website I manage has a webform with a select field, set to country names.  Due to the names of countries in our CRM, I needed to modify the name of a country to match the CRM.  Rather than using a custom module with a hook, I've modified the list directly in CountryManager.php (core/lib/Drupal/Core/Locale/CountryManager.php).

The select list in the webform does not reflect the change.  In other places we use a country list (such as a field in a node or entity), the list has not been updated either.

Node & views - Hide referenced term by TID or label

I am trying to optimize the node view and respective view(s) of a content that has three referenced term fields.
The last of these fields is a field that can contain either a real term or a “fake” term. When the term is a fake I would like to hide it in the node by acting on Twig, but I don't know the statement that should hide it by acting with {% if node.field_term_reference.value == ‘1’ %} or {% if node.field_term_reference.label == ’something' %}

Pages

Subscribe with RSS Subscribe to RSS - Post installation