Converting/Upgrading a Drupal 8 module to 9 (not using Drush)

Hey there, 

I did a quick search and couldn't find much about upgrading/updating modules to Drupal 9. I'm sorry if I missed it, please just point me to right direction. 

Long time Drupal user (5.x was my first experiment with Drupal and I've been on Drupal since the early days of 6 - not using Drush - yet ).

I need some guidance about Drupal 8.x modules/themes upgrading to Drupal 9.

I'm ready to move on to Drupal 9 (currently 8.9) but my theme and slider are not compatible (or at least, have not been updated for 9). Suggestions?

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.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x