Changing page templates with PHP


show more Changing page templates with PHP provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal 6 Essential Training show less
please wait ...

Changing page templates with PHP

If you want complete control over how your theme behaves and in particular how it handles custom created content types, you need to hack at the PHP that's contained within the sites page templates or use a module called Content Templates or Contemplate. We will show you both methods but we are not going to go deeply into how to actually code the changes, that could be an entire course in itself. Instead we will get you started by explaining the template systems logic, where to find the files and the basics of how to play with them. The first we are going to do is we are going to look at the files that make up the theme; we go to the folder where we first installed Drupal. For us we click on the Finder, go to Finder, Hide Others and that exposes the folder where we installed Drupal. Since we are using a theme that came with Drupal, we are going to find it in the themes folder. If you are using a theme that didn't come with Drupal you will probably find it inside the sites folder...

Changing page templates with PHP
Video duration: 8m 15s 6h 52m Beginner

Viewers:

Changing page templates with PHP provides you with in-depth training on Web. Taught by Tom Geller as part of the Drupal 6 Essential Training

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