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

How would you prefer to add a "Contact us about this product" link based on Node ID (NID)?

Drupal 10.1.7 uncustomized core with the theme Olivero and the contrib module Context.

Merge request. What to do next?

I just created a new merge request, in purpose to fix one of the core bug with translation.

Here is it.

Making some revenue with Drupal 10

Hello,

I want to make some revenue with my Drupal 10 website. In the past with earlier Drupal versions I used the adsense module but I noticed that for Drupal 10 only a release candidate "adsense:^1.4@RC" of adsense is available. Is this the way to go, is this release candidate stable enough or are there better options?

Regards,
Albert

Can CKEditor as implemented in Drupal 10 or greater, create more than just HTML in a node's source code?

  • Can it create CSS code?
  • Can it create JavaScript code?
  • Can it create PHP code? (I recall in Drupal 6 and 7, there was a "PHP" edit mode in the editor but I never used it)
  • Can it create some kind of markup which is not HTML but could mistakenly easily be understood as HTML in the source code mode or in the DOM tree?
  • Anything else you may want to pinpoint?

Altering "Member for" value

I'm going to use the module CSV Importer to automatically create users. The source is a CSV got by exporting data from a table in a database. Among the data I have available there is a date (date and time) corresponding to the moment a user has been created. I wonder I can import that date. Can I alter the value corresponding to Member for? Or should I instead put apart Member for and resort to a date field just for the purpose?

Thanks in advance!

Andrea

Adding new media in an image field

Question:
In a node form, is there a way to use the "média library" form field input and trigger  "add new media" intead of "add new image".

Context:
Media type field in a node
The field refers to a custom type media
The media source is an image
The media also includes another MANDATORY field
In the node, the field form display mode is "media library"

Pages

Subscribe with RSS Subscribe to RSS - Post installation