D7 > D8 Blog upgrade

As you probably know, the blog content type has been moved out of Drupal 8 core. There is Blog module that replicates the blog functionality. However, somewhere along the way it was decided to change the content type machine name. D7 core blog uses "blog" whilst the contributed module uses "blog_post".

Store array in entity content

Hi,

I'm working with drupal 8.

I created a custom content entity and I'd like to store an array.

This array has to contain condition configurations (plugin condition).

The ultimate aim is to show only entities complying with conditions.

I have already looked at the context module, but they use a config entity to store their condition.

I tried to use a field map to store this configuration but without success.

Any idea?

Overriding the alter_form hook on Drupal 8 core form generates an error

I have a module that overrides the alter_hook form. The form created is a form created by the core form tool in Drupal 8. When I try to modify one of the fields, I cannot submit the form, but get an error:

Fatal error: Cannot unset string offsets in .../core/lib/Drupal/Core/Field/WidgetBase.php on line 356

Display content based on URL using views - Drupal 8

I am working on Drupal 8. I have a to display content from a content type on different pages. I am trying to use Views to achieve this.

In the content type I added a field to refer to Pages so that I can create relation between content of content type and Pages (another content type). Basically its like tagging content with page name.

I want to display content from content type created on those pages tagged in the content. I am not able to achieve using views.

Any ideas how this can be done? I have tried contextual filter and relationship but none works.

Emptying Database ("Drupal is already install" error)

Right after installing the Dev Desktop 8 on PC, I received the message:

Drupal 8.1.3

Drupal already installed
To start over, you must empty your existing database and copy default.settings.php over settings.php.
To upgrade an existing installation, proceed to the update script.
View your existing site.

D8 How to use Drupal 8 in a subfolder?

Drupal 8 doesn't have the base_url setting in settings.php anymore. What's the proper procedure for running Drupal 8 in a subdirectory?

I have some issues, please verify this is the proper procedure.
My root folder .htaccess has a bit about making all requests go to the drupal8 folder.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x