This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Any way to modify the revisions tab for a node?

Specifically talking about this table in the admin panel: https://ibb.co/G55GHHj (open link to view image)

I'd like to add some extra information in this table. Is there any way to alter what is displayed in this table from Drupal admin panel? If not, any way to do it in code? Thanks!

Default value paragraph field according to input other form field

In a form there are two link fields to enter a Facebook address. 1 Field belongs to paragraph type. Now I want to make the paragraph field change its default value according to the input in the other FB field.

Many to many to many?

Here is my scenario.

I have a song

It has musicians

Musicians play instruments

So, a song can have many instruments and many musicians

An instrument can have many musicians and many songs

A musician can have many songs and many instruments

I'm trying to model this in content types/taxonomy but I've become stuck.

My thought was to have a song content type, instrument taxonomy, and musician content type

D9 Database Query error

In my *.module file for a module I have:

$connection = \Drupal\Core\Database\Database::getConnection('default', 'external');

Drupal::database($connection)->query(

            "SELECT thing FROM stuff  WHERE thing......",

             $arguments

)->execute();

Link to file missing in drupal 9

I have spun up a new drupal site 9 and the link to file option is missing on the edit screen. I have a link option but only to a URL. Can you please let me know what is missing from my drupal install to link to a local pdf file?

Thank you

Getting error while adding/rearranging sort in Views. Drupal\Core\TempStore\TempStoreException: Couldn't acquire lock to update

I am trying to add/rearrange a sort criterion in view in drupal 8.x, but getting error Drupal\Core\TempStore\TempStoreException: Couldn't acquire lock to update item 'search' in 'tempstore.shared.views' temporary storage.  

Is there anyone who can help in this regard. Thanks in advance!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions