I'm using both Domain Access and Sections module.

First I wanted different content, themes etc. for different websites but all pulling from same content so I installed Domain Access as it seemed to be the best module for the job.

I also needed different themed sections within each website so I found the Sections module.
I've run into a problem where the sections module is running across all the different domains
ie. I've themed a news section on one domain but have found the theme is used across all the websites instead of just the one as it is based off the pathauto set up used for the "news" type I created.

Anyone know of a work around or different modules I could use. I thought I had figured it out when I read Domain Access let you select different themes but that only seems to be the "main" theme.

Comments

agentrickard’s picture

You probably need a bridge module to make Sections domain aware.

acantho’s picture

bridge module? Hmmmm don't know if there's one existing already. Not that I found at least.

I'm thinking I may just have to hard code it into the main theme instead of using the Sections module.
As far as I'm aware, you can "theme" a file type or view directly. Just means I can't change themes on the fly with a click of the mouse.

agentrickard’s picture

The question is "where does the Sections module alter $custom_theme". Adjusting module weights may help. You need to decide which module gets the last say. Domain Theme has a configuration option for this.

acantho’s picture

Adjusting the module weight MIGHT work. Though I'm not sure it would.
I can't seem to find the option in Domain Access for theme weight or is Domain Theme another module completely?

Until I can see the feature you are referring to, I can't tell if it will work for what I'm trying to accomplish.

agentrickard’s picture

Domain Theme is part of the package.

acantho’s picture

ah ok Domain Theme. I have that active already (which is why it through me off). I think it will do what I need IF I code/theme each section separately within the main theme (as I had previously mentioned).

Currently, I'm using sections to change themes on the fly for different "sections" of the site.

Now if there was a "Domain Sections" module... I'd be golden! :)

I'll give it a try and see what happens.

agentrickard’s picture

There is also a patch over in the Context/Spaces queue to make domain-sensitive contexts. Run a search over there.

acantho’s picture

Hmmmm just giving those two a look over they're probably exactly what I'd need though I'm thinking a little too robust for me to deal with at the moment. Once everything is up and running I'll take a closer look at them but my solution of hard coding each section into the theme itself to make Domain Access work seems to be doing the trick at the moment.

Thanks for pointing me in that direction.

acantho’s picture

Status: Active » Closed (fixed)

I'll close this as I think the work around will be sufficient