Upgrade or rebuild?

I currently have a Drupal 7 site (https://thehappyscientist.com/) that has over 1800 pages, makes heavy use of the Views module (over 300 views), and has a large, subscriber database.  I need to move to Drupal 8, and am trying to decide between trying to migrate the site to D8, or starting with a blank D8 site, and rebuilding the site to clean it up and remove unused fields, etc.  

menu item children not rendered in main navigation

In bartik theme, the menu system does not display children of main menu even if they are created.

If a sub-menu is created , ie. sub menu of main home menu:

__ Main navigation : Name= Home; Enabled = true; Expanded = true

|__ _ Child menu: parent = Home; Enabled = true

Typical html from default drupal 8

Deleted Javascript is loading and loading

I had a small problem with a Core Toolbar Javascript file

core/modules/toolbar/js/views/ToolbarVisualView.js

- I fixed the problem, cleared all possible caches, many times, nothing changed; I got angry, renamed, then deleted the file completely, cleared again and again all caches, cron , etc..... Nothing....

It's an hour or more, it is still loading, and I can see it in Page Source.....

a small nuance - in Page Source it adds an ending:

core/modules/toolbar/js/views/ToolbarVisualView.js?v=8.6.14

So -

[Solved] When update an article , how to set the latest revision to be the default revision

Hi, 

I'm using Drupal 8.7.5 with Content Moderation module installed

When I published an article , then save this article back to draft,  when I update this article (draft) again, the node_field_data table won't change, only node_field_revision table will change(insert a new record).

This is not what I want, what I want is , no matter what state this article is, when I update this article, the node_filed_data table should change.

I guess this can be done by set the latest revision to be the default revision.

How to change the CSS class of the logo when a new message arrives ?

Hi, I have a Drupal 8.7 site with the Message module.

I copied the sub module Message Example to create my custom module.

THE CURRENT BEHAVIOR :

Users can subscribe (Flag module) to the following entities :

- Groups and receive a notification when a new node is created.
- Nodes and receive a notification when a new comment is created.
- Stores and receive a notification when a new product is created.
- Product and receive notification when a new comment is created.

Upgrade Issue

I'm getting this failure, and have been unable to find a solution.

Update make_menu_link_content_revisionable

  • Custom menu links have been converted to be revisionable.
  • Failed: Drupal\Core\Entity\EntityStorageException: Exception thrown while performing a schema update. Cannot rename tmp_46f0cbmenu_link_content_r__133351678b to menu_link_content_r__133351678b: table menu_link_content_r__133351678b already exists. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x