Summary

We covered a lot of different techniques while recreating our About Us page. From reviewing the mockup to working with various Twig templates, our theming skills have improved. Let's take a moment to recap what we accomplished in this chapter:

  • We began with reviewing our About Us mockup to help identify the different page elements we would need to consider when creating our interior page template.
  • Next, we added back any global regions to our template so that users would be able to navigate to the various pages of our website.
  • The page title plays a very important part in identifying where a user is within our site, so you learned how to work with the Page title block, create a block template, and refactor markup to match our design.
  • Our Team Members section required you to learn different techniques to create and format fields using Drupal's View module. We rewrote fields using Twig, added View headers to create introductory text, and followed up by adding CSS classes to various sections.
  • Finally, we looked at a common JavaScript error and how to resolve loading libraries unnecessarily.

In the next chapter, we will continue our theming by taking a look at setting up our Blog Landing page, working with various display modes associated with content types, and using those display modes with Views.

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

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