Add an HTML Template and Modify Page Templates in Drupal 7


show more Adding an HTML template and modifying page templates provides you with in-depth training on Web. Taught by Chaz Chumley as part of the Drupal 7: Creating and Editing Custom Themes show less
please wait ...

Adding an HTML template and modifying page templates

Drupal 7 has added new templates and has changed the template suggestions, all of which we will discuss when we take a look at how to convert the existing Drupal 6 page.tpl templates. We will also discuss what page variables and Regions have been added and how to migrate from Drupal 6 to Drupal 7. Let's begin by browsing to your editor and within the hanselpetal6>sites>all>themes> hanselandpetal theme, what I want to do is locate the page-front page and page-node.tpl templates.

Let's go and begin with a front page. So if I actually Copy this and Paste it into our hanselpetal7>sites>all>themes> hanselandpetal templates folder, which we still need to create, create that now, and let's go ahead and open this and take a look at exactly what the Drupal 6 version looks like and what we need to do in order to get this to work properly in Drupal 7.

First of all, we know some of the page variables have changed, as well as if we scroll down we know that the page.tpl ...

Adding an HTML template and modifying page templates
Video duration: 11m 25s 3h 36m Intermediate

Viewers:

Adding an HTML template and modifying page templates provides you with in-depth training on Web. Taught by Chaz Chumley as part of the Drupal 7: Creating and Editing Custom Themes

Subject:
Web
Software:
Drupal
Author:
please wait ...