When I added a second site in multi-site (one codebase, two databases, two domains) in D6.2 the theme hierarchy doesn't seem correct.

Referring http://drupal.org/node/53705, I setup as follows:


sites/all/themes/mytheme
sites/all/modules/...

sites/example1.com/files

sites/example2.com/files
sites/example2.com/themes/mytheme

I expected that example1.com when configured for mytheme would use the theme as defined in sites/all/themes/mytheme. AND it did just that.

However, example2.com did NOT pickup mytheme from sites/example2.com/themes but rather the theme with the same name in sites/all/themes. In other words, it appears that sites/all/themes takes precedence over sites/specificdomain/themes.

Does sites/all have higher precedence that sites/specificdomain?

Yes - I know - I'm only asking for trouble with two identically named themes with different behaviors. But, I want to understand this because the same precedence probably apply to the /files & /modules.

Comments

chrisnyc’s picture

This is driving me absolutely nuts. I have the same problem. The themes in sites/all/themes are showing up, whereas the one that I have in sites/sandbox.mydomain.org/themes is MIA. I have the folders set to 755, and I can access the files through a direct URL in the browser, so I can't for the life of me figure out what the problem is.