1

I want to include a whole new theme into a site to run along side the existing site on new pages (which make up another 'site' on this installation) . I have thought that I could just create new page templates prefixed with the new site name within the existing theme and it would all be seperate, but I didn't think about the stylesheets and scripts in the theme.info file.

I want to use completely new html, js, and css as the current stuff is horrible (I can just not render the current scripts and css, but I am wondering if there is a better way.). I also want to avoid unnecessary impact to the current installation as there are already 3 sites running on it.

Is this the best way to add another simple site to an existing Drupal installation?

3

The ThemeKey module may be able to accomplish what you're looking to do.

The granular control it gives you as to when to show a specif theme is very impressive.

  • Thanks, it is an ok option, but the setting the specific domain doesn't work. I tried to use a wildcard, but it still switches the theme for all domains. – theringostarrs Aug 28 '12 at 20:58
  • Are you using Drupal 6 or 7? – Citricguy Aug 28 '12 at 22:26
2

Use the Domain Access module and Domain Themes module in combination to switch themes depending for a domain within the same Drupal installation.

Domain Access allows you to specify multiple domains for your site installation, and control what is created for those.

Domain Themes allows you to specify what theme is used for a domain.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.