Drupal Template Variables

  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Failed opening '/home/drupal_in/drupal.in/themes/engines//includes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
nishabaalyaan's picture

Hlo,

I m new to drupal as well as this site. Started studying drupal by a view through Drupal template variables. Can any body tell me were these variables are initialized and defined. In which file they are set? I tried to find them in the whole folder of drupal but could not find them anywhere else then the page.tpl file in the themes directory. Can anybody explain where these variables are defined?

sunil's picture

For phptemplate they come

For phptemplate they come from the engine and/or _phptemplate_variables().

http://drupal.org/node/16383
http://api.drupal.org/api/function/phptemplate_page/5
http://api.drupal.org/api/function/theme_get_setting
http://drupal.org/node/165706
http://drupal.org/node/226776
http://drupal.org/node/223430

My "0.2 paisa"

-S-