Révision 74f6bef0
Ajouté par Assos Assos il y a plus de 10 ans
drupal7/sites/all/themes/adaptivetheme/at_subtheme/template.php | ||
---|---|---|
12 | 12 |
* used as an alternative to directly editing or adding code to templates. Its |
13 | 13 |
* worth spending some time to learn more about these functions - they are a |
14 | 14 |
* powerful way to easily modify the output of any template variable. |
15 |
*
|
|
15 |
* |
|
16 | 16 |
* Preprocess and Process Functions SEE: http://drupal.org/node/254940#variables-processor |
17 | 17 |
* 1. Rename each function and instance of "adaptivetheme_subtheme" to match |
18 | 18 |
* your subthemes name, e.g. if your theme name is "footheme" then the function |
... | ... | |
30 | 30 |
global $theme_key; |
31 | 31 |
|
32 | 32 |
// Two examples of adding custom classes to the body. |
33 |
|
|
33 |
|
|
34 | 34 |
// Add a body class for the active theme name. |
35 | 35 |
// $vars['classes_array'][] = drupal_html_class($theme_key); |
36 | 36 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules