I think that I have followed the directions in the domain_theme\readme.txt file (3.3 Domain-Specific Theme Settings) correctly, but I can't seem to get it to work correctly. The logo that I set for the secondary domain displays on the primary domain too.

Steps to reproduce:
Using the Garland theme, set the path to the primary site's logo. Under Site Building/Domains click on the theme link for one of the secondary domains. Click on Configure next to Garland, and get a page titled : garland settings. Update the path for the logo for this domain and click save.

The new logo now displays for the secondary domain, but also displays for the primary domain. It looks like I am getting different theme settings pages for the primary and secondary domains, but the secondary settings are overwriting the primary settings. I get the same results using logo upload and other themes.

What am I doing wrong?

Fantasic module, by the way. THANK YOU!

Comments

agentrickard’s picture

I cannot reproduce.

Be sure to check how the front pages displays. The domain-specific theme configuration pages do, in fact, try to load the settings for the domain being edited (much like the Blocks page does), so that may be causing conufsion, even if things are working normally.

tyates’s picture

Hmmm... Maybe it is my newbie status, but no matter what I tried, I had the same result. Oddly, going to Site Building/Domains, click on the theme link for the sub domain, (the title shows the sub domain name), click configure, set the logo and save. Then go to site building/themes & set logo for the default site. Clear browser cache & Drupal cache. Go to main site and logo is correct. Go to sub domain, logo is correct sub domain logo. Go back to main site and logo incorrectly shows sub domain logo. Go to site building/themes from main site menus and the saved logo path has changed. It stays set until the first access to the sub domain and then changes.

The workaround:
On the Domains page, get the id number for the primary domain (0 in my case). Navigate to /admin/build/domain/theme/0, confirm that the content title shows the primary site's name, and configure the theme.

A possible fix:
On the Domain List tab, include the theme link (and maybe the others too) for the primary domain just like there are for the sub domains.

Maybe this work around will help others who like me can't figure out how to get it to work any other way.

Thanks again for the great module.

agentrickard’s picture

Status: Active » Closed (fixed)
mrgoltra’s picture

it is happening on my site

I have about 56 and the domain 0 logo keeps changing to whatever the last domain was visited.. If you need access let me know. thanks. This does not happen on Garland but other theme. I am using acquia marina.

any ideas?

mymissedconnection.com

peck66’s picture

Is what you are trying to do even possible?
Is it possible that the problem is that logos are associated with themes, and that Domain Access does not attach sub-domain specific data (e.g. a logo) to each theme?

etlmdmr’s picture

Like (I think) tyates said, the solution is to go to admin/build/domain/theme/0 = primary domain.

First time I went there, no default theme was set. So I selected my theme as default, and... success!