I create a custom test module and in it I have a block file "/src/Plugin/Block/FirstBlock.php".
I want to use a twig file to show the header of this block. If I use this block--first-block.html.twig in theme's template folder then it works, but placing the same file in module folder doesn't work and defaults back to classy's block.html.twig.
Is there something I can do to place it in module folder and have Drupal recognize it?
First, I would like to say that Drupal sucks!!! In 20 years experience as a developer, I have never worked in an environment with so many bugs, errors and lack of documentation!
In almost any task that I do, I get stuck and things that take 3 minutes in any other platform, take hours and days here. Drupal sucks!!!
Now for the question....
I have the simplest code ever, I even hard coded it.. I worked on it for the last 5 hours and it still doesn't work... Here is what happens:
This uses something called drupal-composer/drupal-project to set up a new Drupal 8 website with all required libraries – and some libraries that are not required on a production site.
I installed the Secure Pages module to my website now I have an error message "Access Denied You are not authorized to access this page" when I am logged in to user1 which is the admin of the account. So now I can't do anything with my site. How do i get back in to my site? Also, how do I uninstall the Secure Pages Module properly once I get back in to my site?
I was wondering if there is any module on Drupal 8 that can perform a page search, unlike the core search function which searches the entire website? Or any module that could help me get the results display like the one in the image below? Thank you in advance for your answers
I was wondering if there is any module for Drupal 8 that can be used to do a search on each level of a tree/nested menu individually? For example, if I have a menu as follows: