Hello and sorry for my bad English. I am using Drupal 8 and i want to make a menu with categories. The menu title has to be CATEGORIES and when someone click on it, the menu has to show the categories with a drop down. So i've created categories. Then i created a menu called - CATEGORIES and i marked "show as expanded". In the menu link i added - route:<nolink> . So now i have Categories menu with drop down listing categories, but when i click on it, the page is refreshed. I dont whant the page to be refreshed everytime i clikc on CATEGORIES.
Hello. I'm trying to restrict access to the /taxonomy/term/[ID] pages on my site but I can't get it to work. I've tried two approaches:
1) adding a route subscriber to alter the route "entity.taxonomy_term.canonical" in order to do $route->setRequirement(...). This seems to work for other routes than the taxonomy term overview page but not for that page.
I'm working on converting a Drupal 7.63 web application to asp.net core. I don't have experience with Drupal / php so am wondering how I should check the hashed passwords in c#. I know drupal uses SHA-512 but am not sure where it gets / stores the salt and how many iterations it uses. Also, all of the passwords in the drupal user table have a $S$D prefix.
I created a Drupal module that uses \Drupal::currentUser(); to build a list of people that have the same value for a custom field.
The code seems to work when I run as the Administrative user. However if I use an Authorized user it will update the values shown the first time but when I switch to a different Authorized user it still shows the same values as the first Authorized user I logged in as.
How do I get the code to run when a new user logs in so that they see the information associated with them.