Use Drupal installation’s base URL on theme/template
Drupal, Web May 6th, 2009
To be able to use base URL (server URL and subdirectory where Drupal is installed if any, like http://mydomain.com/drupal) on themes or content templates, $base_url scope must be modified before it can be used. Before your theme code, you should write:
< ?php global $base_url; (rest of theme/template code) ?>
Tags: Drupal 6, Drupal Themes, PHP, URL
About