Templates

Verfügbare Variablen in page.tpl.php

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.
Inhalt abgleichen