Could you give some examples of variables? I tried simply using the following to change the logo on one virtual site as I don't want to change the whole theme:

logo = /sites/default/files/logo2.jpg

I also tried with a full path and had no luck. The old logo still appears. What is the correct syntax? (sorry, looked at ini, but didn't see documentation on why this shouldn't work).

Thanks,

Jason

Comments

rjaeger’s picture

try to add this line in template.php of your theme i.e. in function garland_preprocess_page(&$vars)

  global $conf;
  $vars['logo'] = $conf['logo'];
adamps’s picture

Issue summary: View changes
Status: Active » Fixed

The variables module assumes you know a bit about Drupal variables, and if not you might find it hard going.

Logo is actually a theme setting (logo_path), not a variable. Here are a couple of examples of variables:

site_name = My alternate site name
site_frontpage = home-page

(2nd one is the URL of a page)

Variables are always something that is global to the site. You can pick them variable name out of a configuration page using something like Firebug in your browser. Or if you have drush installed, type "drush vget" to see all the variables.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.