1
|
|
2
|
Theming instructions
|
3
|
====================
|
4
|
|
5
|
You may want to visit the Theming Guide of this module, at:
|
6
|
|
7
|
http://drupal.org/node/295346
|
8
|
|
9
|
Template file
|
10
|
-------------
|
11
|
In order to customize flag theming:
|
12
|
|
13
|
- Copy the 'flag.tpl.php' template file into your theme's folder.[1]
|
14
|
|
15
|
- Clear your theme registry.[2]
|
16
|
|
17
|
- Edit that copy to your liking.
|
18
|
|
19
|
|
20
|
Template variants
|
21
|
-----------------
|
22
|
The theme layer will first look for the following templates in this order:
|
23
|
- flag--<FLAG_NAME>.tpl.php
|
24
|
- flag--<FLAG_LINK_TYPE>.tpl.php
|
25
|
- flag.tpl.php
|
26
|
These should also be placed in your theme's folder.[2][1]
|
27
|
|
28
|
|
29
|
Footnotes
|
30
|
---------
|
31
|
[1] Or to a sub-folder in your theme's folder.
|
32
|
|
33
|
[2] Clearing the theme registry makes Drupal aware of your new template
|
34
|
file. This step is needed if you create or rename template files. This
|
35
|
step *isn't* needed if you merely modify the contents of a file. Instructions
|
36
|
on how to clear you theme registry are at http://drupal.org/node/173880#theme-registry
|