Pulling information from a CSV file

I have a flat file CSV file with information about different countries that I need to post inside Drupal 9 pages. I know how to upload the CSV file to my Drupal database.

I'm not sure how, tho, to call the CSV information within the article itself. When I searched for a module or PHP code on how to do this, it seemed most recommendations suggested writing my own module. But I don't want a block - I need to post inside the body content itself.

What's the best, newbie, non-coding way to do this? I'm not a programmer, and I don't play one on TV. :-)

Thanks!

Mailchimp module

Hello,

I want to upgrade to Drupal 9.

I'm using Mailchimp module in Drupal 8.

In the module page doesn't say anything about Drupal 9 compatibility.

https://www.drupal.org/project/mailchimp

But the upgrade status module says that mailchimp module is up to date then ready for Drupal 9. Now I'm confused.

Is Mailchimp module ready for Drupal 9?

Thank you.

Regards.

problems following composer upgrade path

Hi folks.  I have a pretty vanilla site I'm trying to update from 8.8.8 to 9.0.x.  I followed the advertised guide, starting from an install I converted to composer.  I am getting the following errors:

autoload classes in modules

I'm using a module which reuse classes from easyrdf module, but since easyrdf is not included in core anymore I'm running into problems, because my module can't find used classes.

my solution is to add

"require": {
        "easyrdf/easyrdf":"^0.9"
}

in the composer.json of my web/modules/contrib/my-module context.

openssl_x509_fingerprint doesn't work

Hi

I have created a Drupal 8 custom module, which uses openssl_x509_fingerprint to generate the thumbprint of certificate which is uploaded in the form. But, openssl_x509_fingerprint fails with the following error

How to limit access to a page in the path of the user to the current user ?

I created a page in a custom module. I want only the current user to access this page on their behalf.

For example, I am user ID 51. If I go to :

/user/51/tasks

I can see this page.

If I go to another user :

/user/78/tasks

I must have an error 403 access denied.

Here is my full module :

https://git.drupalcode.org/sandbox/zenimagine-3076032

How to do this ?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x