Templates
Introducing the _phptemplate_variables function
By Bernhard Fürst - Posted on April 24th, 2007
Take Control of Your PHPTemplate Variables:
http://www.group42.ca/take_control_of_your_phptemplate_variables
Alles ums Modifizieren von Templates
By Bernhard Fürst - Posted on November 18th, 2006
Verfügbare Variablen in page.tpl.php
By Bernhard Fürst - Posted on Juni 7th, 2006
In page.tpl.php (PHPTemplate) sind folgende Variablen verfügbar:
- head_title: The text to be displayed in the page title.
- language: The language the site is being displayed in.
- site: The name of the site, always filled in.
- head: HTML as generated by drupal_get_html_head() (needed to dynamically add scripts to pages)
- onload_attributes: Onload tags to be added to the head tag, to allow for autoexecution of attached scripts.
- directory: The directory the theme is located in , ie: themes/box_grey or themes/box_grey/box_cleanslate
- logo: The path to the logo image, as defined in theme configuration.

