Insert Site-Wide Components into page.tpl.php

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:00
    Insert Site-Wide Components into page.tpl.php
  • 0:00
    with Emma Jane Westby
  • 0:08
    EMMA JANE WESTBY: Designs often have a few elements which don't need
  • 0:11
    to be edited and can essentially be hardwired into our theme files.
  • 0:15
    In the domicile design, we've got four such images
  • 0:18
    that we're going to be working with.
  • 0:20
    This lesson takes a look at how to deal
  • 0:22
    with those particular situations.
  • 0:25
    More specifically, in this lesson, we
  • 0:27
    will discuss how to choose whether a design element should be hardwired
Loading ...

Insert Site-Wide Components into page.tpl.php

Loading...

Designs often have a few elements which don't need to be easily edited and can essentially be "hard wired" into the template files. In our design there are three or four images which fall into this category. In this lesson we'll edit the page.tpl.php file to insert our design assets from Lesson 5: Extract Design Assets. By the end of this lesson you will know which variables can be used in a template file to ensure the correct directory is always used for hard-coded image files.

Downloads: 
Log in or sign up to download companion files.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.