View - Group by taxonomy hierarchy

Hi all,

Is there a way to group a view using a taxonomy hierarchy in Drupal 8?

My taxonomy has three levels and I need to group each node under its relevant level. I'm then hoping to use the views accordion module to allow the users to open/close the top level.

So far I have been able to group by taxonomy but each taxonomy term is just in a flat list

Any help appreciated

Unneeded javascript and css when logged in

Hi,

Sorry for what probably is a very basic question. I am tasked with implementing a generic template as a Drupal theme from the ground up.
The template I'm working with consists of a set of scss files, javascript and some example html files. 

Upgrading from 8.5.0 to 8.5.1 using composer

Hi,

Tried to uprade to 8.5.1 from 8.5.0 using composer :

composer update drupal/core --with-dependencies

this does not upgrade drupal core.

There seems to be a dependency with webflo/drupal-core-require-dev

as you can see when using : composer prohibits drupal/core:8.5.1

so i used : composer update drupal/core webflo/drupal-core-require-dev --with-dependencies

That worked

Apache cannot find BlockBase

Hallo,

Sorry I am novice here. Here is my first try to make my custom block programatically, but apache errol log sais:

PHP Fatal error:  Class 'Drupal\\welcome\\Plugin\\Block\\Drupal\\Core\\Block\\BlockBase' not found in C:\\xampp\\htdocs\\drupal8\\modules\\custom\\welcome\\src\\Plugin\\Block\\welcome.php on line 16, referer: http://localhost/drupal8/admin/structure/block

the name of the module is welcome and my code is in welcome/src/Plugin/Block

Help with error message, "Interface 'Psr\Container\ContainerInterface' not found in..."

I have an issue, not sure how to tackle it. I installed the pathauto module, it appeared to install ok, and work ok, set up ok, etc. however now, 3-4 hours later, when I visit the site (any page/URI) I get:

Interface 'Psr\Container\ContainerInterface' not found in 

With a path to

[Mysite]/vendor/symfony/dependency-injection/ContainerInterface.php on line 26

I sorta understand the message, but I would appreciate any advice/direction/etc before I start trying to fix it.

Drupal 8 Form not submitting fieldset fields

Hi,

I have a created a custom settings form, with 2 fieldsets with image fields.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x