The topic development of drupal6 and drupal7 is quite different. This Guide contains these differences
The default topic of drupal7 is bartik and 6 is Garland.
How does Drupal's Theme system work?
This section mainly describes how Drupal themes work, the composition and settings of themes, and the. info file and template page. This section is the starting point for creating a custom topic.
Topic file Overview
A topic is a set of files that define the presentation layer. You can create multiple self-themes or change versions of one topic. Only the. info file is required for a topic. However, basically all themes and subthemes use other types of files. The following figure shows the file content required by a topic.
Drupal6
Drupal7
. Info file (required)
The topic must contain the. info file. The files to be used in the topic are defined here, such as css js block. The name used in Drupal is the name of this file. If this file is called drupal.info, drupal will display the name of this topic as Drupal
Template file (. TPL. php)
These files are written in HTML and PHP code. In some cases, they may be used to output other types of data, such as xml rss. Each. TPL. php file processes a page that can be defined to display data
[Drupal] topic tutorial