How to create and manage menus and children for different pages/nodes?

Hi,

I am developing a website with pretty wide structure. By content definition there will be different menu items for different pages.

For example (standard content type Article), an Article1 will have its own children Article items, Article2 will have its own, etc. Article1 children should not be displayed visiting Article2 and any of its children, etc.

How to print user's username ?

Hi,

i'm working on my first drupal 8 project and i'm looking for a way to print the current user's username

When doing tests, i find it convenient to have the username printed somewhere in the page (usually the header or footer region.

In D7 i could do that by enabling PHP filter and using something like this within a block :

<?php global $user;
if(user_is_logged_in()){ print $user->name . " - " . $user->uid; }
else { print "Hello"; }
?>

in D8 it seems there is no php filter anymore.

Where's the new look in 9.0?

I'm kind of at a loss as to why Drupal 9 would be released without the new default theme in place. Is this just more of the "visual is the least important thing" attitude? I would think a little eye candy would help the new release seem more like a new release and maybe even generate some market interest? With all the other complicated stuff going on backside, why is it so hard to get a new up-to-date default theme in place?

Visitors module

I installed the visitors module
https://www.drupal.org/project/visitors

I'm able to add the visitors link/path in the administration menu and in the shortcuts with the admin user.

I want to give to another role (editor role, that I have created) access to the /visitors page I tried to added it to the shortcuts an din the adminitration menu. But I receive the next error:
The path '/visitors' is inaccessible.

Can not add block to page and edit the element of web form

Hey, guys, I'm a new user of Drupal 8. I finished a website for my organization. Drupal 8 works well, but recently, when I try to add a new block to the page through the pages module, it doesn't work. The "Pages" module is under 'Structrue", when I add new block to the content of the Panels, I can see the list of blocks but I can't select anyone when I clicked any of them. Only a loading symbol flashes one second in the center of the screen.

Intellectual Property Office

Intellectual Property Office website homepage featuring online training tools

The Intellectual Property Office wanted to re-platform their learning and education tools. Bringing them under a single strategic CMS. Making it easier for the Communication and Outreach teams to manage content.

Sectors: 
Government

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x