Community Documentation

Templates and other PHP pages

Last updated September 12, 2012. Created by JohnAlbin on August 13, 2012.
Edited by gilonlineltd. Log in to edit this page.

The .tpl.php files are your templates that contain mostly HTML markup plus some light PHP code in order to place the content in the markup.

After you've perused the template files, the most important PHP file in your sub-theme is going to be the template.php file.

Page status

Needs updating

Log in to edit this page

About this page

Drupal version
Drupal 7.x
Level
Beginner
Audience
Designers/themers
Keywords
Gil Online Limited
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here