Anyone ever successfully import from CSV to create nodes in Drupal 8?

Hi All,

I desperately need a module like 'CSV importer' to create some nodes by importing from CSV or Excel files. I am surprise to see only one module, feeds, is actively handle such a common task. Unfortunately there is a BIG warning in feeds' setting page, saying that it is still not ready for CSV file.

Anyone has some kind of feasible way to import data from CSV or Excel to create nodes? Thank you very much if you would like to share some information.

Best,
Derek

Site name is not changing in <title>

When I change the site name in admin/config/system/site-information it has no effect on the site name between the title tags in html.html.twig. It always shows "Drupal" as the site name.

I'm using the Basic theme with the same implementation as in the core themes:

<title>{{ head_title|safe_join(' | ') }}</title>

I already checked the translations and the site name is also not hard coded in settings.php

How to make block context aware?

I created a block that is shown on the page of a custom entity type. Now I want to access the context since all Blocks seem to be context aware. However the context is empty. I debugged to the line I wanted to read the context value and then I saw that the context is completely empty.

What do I have to do that my Block has a Context? Can someone provide a Basic Example of a Block using the context it knows?

Server config problem, maybe: missing views class?

Hey Drupallers! I've been out of the game for a while, and never worked with Drupal 8. Things have changed a lot.

I've got a basic site that's working fine locally in MAMP under PHP 5.6, but when I moved it to the webhost (also on 5.6), I'm getting this error in my logs when attempting to load user/login:

D8 twig template override reverts when exiting development mode

EDIT/SOLVED: It seems like this was due to a caching issue. For some reason, "drush cr" didn't clear the cache properly, but it seems like clearing the cache from the admin panel did the trick.

Original post below:

I am overriding a node template for a specific view, using the name scheme node--view--view-name.html.twig.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x