i find when i put a theme in sites\default\themes,it can work.according to drupal document, the good way is put the theme into sites\all\themes.who can tell me about these difference?which is better. any tips would be appreciated.

Comments

vm’s picture

no one place better. sites/default would be if you were running a multisite and wanted something specific to the main code base.

most sites aren't using multisites and sites/all is quite fine to use. Quite fine to use in a multisite environment as well if you wanted modules available to all sites included in the multisite. Ex, if you've a multisite and wanted to be used on both, the theme would be added to sites/all and be available to all sites. This same holds true with modules.

To summarize; There is nothing wrong with either approach. One way isn't better than the other when running a single site.