1
|
TEMPLATES
|
2
|
---------
|
3
|
|
4
|
Drupal 7 contains the following template files which you can override and modify
|
5
|
by copying them to your sub-theme.
|
6
|
|
7
|
The Zen theme overrides a handful of Drupal's templates. In order to override
|
8
|
those templates, you should copy them from the zen/templates folder to your
|
9
|
sub-theme's templates folder.
|
10
|
|
11
|
As always, when adding a new template file to your sub-theme, you will need to
|
12
|
rebuild the "theme registry" in order for Drupal to see it. For more info, see:
|
13
|
https://drupal.org/node/173880#theme-registry
|
14
|
|
15
|
Located in zen/templates:
|
16
|
html.tpl.php
|
17
|
page.tpl.php
|
18
|
maintenance-page.tpl.php
|
19
|
node.tpl.php
|
20
|
region.tpl.php
|
21
|
region--footer.tpl.php
|
22
|
region--sidebar.tpl.php
|
23
|
region--no-wrapper.tpl.php
|
24
|
block.tpl.php
|
25
|
block--no-wrapper.tpl.php
|
26
|
comment-wrapper.tpl.php
|
27
|
comment.tpl.php
|
28
|
user-picture.tpl.php
|
29
|
|
30
|
Located in /modules/aggregator:
|
31
|
aggregator-feed-source.tpl.php
|
32
|
aggregator-item.tpl.php
|
33
|
aggregator-summary-item.tpl.php
|
34
|
aggregator-summary-items.tpl.php
|
35
|
aggregator-wrapper.tpl.php
|
36
|
|
37
|
Located in /modules/block:
|
38
|
block.tpl.php (overridden by Zen)
|
39
|
block-admin-display-form.tpl.php
|
40
|
|
41
|
Located in /modules/book:
|
42
|
book-all-books-block.tpl.php
|
43
|
book-export-html.tpl.php
|
44
|
book-navigation.tpl.php
|
45
|
book-node-export-html.tpl.php
|
46
|
|
47
|
Located in /modules/comment:
|
48
|
comment-wrapper.tpl.php (overridden by Zen)
|
49
|
comment.tpl.php (overridden by Zen)
|
50
|
|
51
|
Located in /modules/field/theme:
|
52
|
field.tpl.php (not used; core uses theme_field() instead)
|
53
|
|
54
|
Located in /modules/forum:
|
55
|
forum-icon.tpl.php
|
56
|
forum-list.tpl.php
|
57
|
forum-submitted.tpl.php
|
58
|
forum-topic-list.tpl.php
|
59
|
forums.tpl.php
|
60
|
|
61
|
Located in /modules/node:
|
62
|
node.tpl.php (overridden by Zen)
|
63
|
|
64
|
Located in /modules/overlay:
|
65
|
overlay.tpl.php
|
66
|
|
67
|
Located in /modules/poll:
|
68
|
poll-bar--block.tpl.php
|
69
|
poll-bar.tpl.php
|
70
|
poll-results--block.tpl.php
|
71
|
poll-results.tpl.php
|
72
|
poll-vote.tpl.php
|
73
|
|
74
|
Located in /modules/profile:
|
75
|
profile-block.tpl.php
|
76
|
profile-listing.tpl.php
|
77
|
profile-wrapper.tpl.php
|
78
|
|
79
|
Located in /modules/search:
|
80
|
search-block-form.tpl.php
|
81
|
search-result.tpl.php
|
82
|
search-results.tpl.php
|
83
|
|
84
|
Located in /modules/system:
|
85
|
html.tpl.php (overridden by Zen)
|
86
|
maintenance-page.tpl.php (overridden by Zen)
|
87
|
page.tpl.php (overridden by Zen)
|
88
|
region.tpl.php (overridden by Zen)
|
89
|
|
90
|
Located in /modules/taxonomy:
|
91
|
taxonomy-term.tpl.php
|
92
|
|
93
|
Located in /modules/toolbar:
|
94
|
toolbar.tpl.php
|
95
|
|
96
|
Located in /modules/user:
|
97
|
user-picture.tpl.php (overridden by Zen)
|
98
|
user-profile-category.tpl.php
|
99
|
user-profile-item.tpl.php
|
100
|
user-profile.tpl.php
|