I am using the Domain Access module to serve multiple domains, with shared user and publication database tables. I have this working.

With this setup, I have the following (conflicting?) wishes:

  • I want to restrict publications to specific domains.
    I can do this by setting the 'Domain access options' to publish only to certain domains. When I do this, a user profile shows only publications of a user in the current domain.
  • I want to have the user profiles of all domains show all publications of a user.
    I can do this by setting the 'Domain access options' to publish to all domains. When I do this, the publication list of any domain contains the publications of all other domains.

How can I get both functionalities at the same time?

Comments

agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

I don't understand what you are trying to do. What is a 'publication list'? What 'domain access options'?

Screenshots might help.

mreggie’s picture

Status: Postponed (maintainer needs more info) » Active

It's probably easiest to have a look at the actual sites.
I have created a publication in one domain: http://dmirlab.tudelft.nl/biblio
The publication is not listed in another domain (=good): http://visionlab.tudelft.nl/biblio
The publication shows up in my profile's publication list of the first domain (=good): http://dmirlab.tudelft.nl/user/8/biblio
The publication is not listed in my profile's publication list of the second domain (=bad): http://visionlab.tudelft.nl/user/8/biblio

I would like my profile's publication list in all domains to show all my publications.

FYI: I use the Biblio module for the publications.

agentrickard’s picture

Add the path 'user/*/biblio' to the 'Special page requests' setting of Domain Access, on a new line. So you'll have:

user/*/track
user/*/bilbio

This will tell DA to step aside and show all content on that page. This is exactly what the setting is for. See section 4.5 of README.txt.

mreggie’s picture

Status: Active » Closed (fixed)

Of course, that works beautifully!

I've seen the setting, I just failed to make the connection to this application. :-(

Thanks very much!

mreggie’s picture

Status: Closed (fixed) » Active

On second glance, I've spotted a (minor) problem: the primary-links menu changes (menu items for other domains are shown).
For an example, see http://dmirlab.tudelft.nl/biblio and http://dmirlab.tudelft.nl/user/8/biblio.

If this is part of the design, I can live with it.

But it's possible (likely) that I missed something, or that I'm incorrectly using the menus for multiple domains. If so, I welcome all suggestions.

agentrickard’s picture

Use the 'Domain primary links' block instead of the default one. See the README for why.

mreggie’s picture

Aha, I found the right README (the one for the Domain Configuration module) now.
I am going to try following the instructions.

agentrickard’s picture

I've been to Delft!

mreggie’s picture

Status: Active » Closed (fixed)

My questions seem to be answered perfectly, I'll close the issue.

Did you like Delft?

bstoppel’s picture

I know this issue is closed, but I am hoping you can provide some insight for me.

I've been trying to set this up for my work but haven't been 100% successful. The biblio module works as does the domain access module in most cases. The problem that I am experiencing is with anonymous users being able to see all biblio entries on all of my sites despite the fact that the biblio entries are selectively published to certain domains. When a user is logged in, the biblio list is correct. It only shows all entries to anonymous users.

Did you have to set a certain permission to make the lists work for anonymous users?

bstoppel’s picture

It turned out that Taxonomy Access Control was causing this issue. My sites are working as expected.