Summary

Congratulations! We have completed the theming of our Search results page. We began with the default core search and worked our way through replacing core search with the more robust Search API. The ability to extend Drupal using contributed modules is one of the primary reasons that makes it such a widely used platform to develop websites.

Let's review what we covered in this lesson:

  • We started with our Search results page mockup and identified form elements and markup that would need to be modified in Drupal.
  • Using core Drupal search, you learned the important aspects of configuration and how to control keyword factors. Once search was configured, we used Twig templates to override the Search results templates to match our mockup with minimal changes.
  • Realizing that we needed to extend search to make it more flexible for our needs, we explored using the Search API module. Being able to create a search server, search index, and use Views to build our Search results page provided us with the ability to better customize the search experience.

At this point, we have themed every section of our website and successfully recreated our Mockup using Drupal 8 and Twig. So where do we go from here? Well, there are still a few tricks for us to learn in the final chapter. These are: theming a few Admin components, such as the local tasks menu and status messages, reusing Twig templates, and finally getting involved in the community.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.181.57