Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By i0s9 on
I've views block with id=block-views-block-services-block-1 which I used it in the menu link.
The menu link is now shown as https://demo59.com/gb/#block-views-block-services-block-1
As you can see it's really not looking nice with long hyphened words, is there any easy way to change it to something like this https://demo59.com/gb/#services
I read an answer for drupal7 where we need to edit the template.php and change the id. But in drupal 8 it seems that template.php are replaced with twig.html, I'm not very sure as I'm new to drupal.
Could anyone please explain few steps on how to do it.
Comments
Found something ? I need to
Found something ? I need to change ids of blocks too. Views blocks and some customs blocks...
Here is the answer
Here is the answer: Drupal 8 - How to change views block id and use it as Menu link?
Here is the answer
Here is the answer: Drupal 8 - How to change views block id and use it as Menu link?