For an installation that is not a multisite, I am considering using URL aliases for some content with a subdirectory

Example with URL Alias

Main Site: http://mydomain.com
node/1 -> page1
node/2 -> page2

Sub Site:
node/3 -> site2/page1
node/4 -> site2/page100

I can change blocks and menus to display only on site2*. I am wondering if there is a module to change the theme based on site2*?

Any ideas?

Comments

erik’s picture

Maybe switch to a different theme depending on the url, using the context module?

MiHeath’s picture

Somewhat related to this, I'm looking to use a specific theme to a subdirectory on a multi-site installation.

for instance, using settings.php, we are controlling the default theme so sub1.domain.com and sub2.domain.com have separate themes. I am looking to add a theme @ sub2.domain.com/directory . I have read this should be achievable through creating a directory in sites/all named sub2.domain.com.directory, and creating a settings.php there, setting default theme/node, but this does not seem to be recognized by my Drupal installation. Thanks in advance.

Anonymous’s picture

If your planning on changing theme on path Key Theme might be the answer. http://drupal.org/project/themekey

I have used it before and it works fairly well.

MiHeath’s picture

Thanks, this definitely looks like it will help, and I'll probably use it. I'd still like to explore getting this working through the use of the sites directory and settings.php . Any ideas?