Drupal Theming
17
Drupal Theming
-
Upload
takrin54 -
Category
Technology
-
view
65 -
download
2
Transcript of Drupal Theming
Drupal
Theming
Theming
● Вывод
● Препроцесс
● Начальные данные
Example
Start data:
1. $article_body
Preprocess
$title = “Why Choose Drupal?”;
$button = theme(“article_button”);
Output
● Template● Function
Output
Redefine
CUSTOM
CUSTOM CUSTOM
CUSTOM
~ 3000 – 5000 theme() calls
Work examples
● Whitehouse● BBC● LinuxFoundation● Ubuntu● Forbes● Stanford● And many others