Domain Access and mother website arguments I am thinking of creating a series of websites based on one mother website using the Domain Access module, like this:

www.domain1.com linking to www.motherwebsite.com/argument1

www.domain2.com linking to www.motherwebsite.com/argument2

www.domain3.com linking to www.motherwebsite.com/argument3

etc. Each child domain will show the content associated with this domain (but created on the mother website) depending on argumentN.

So, my question is how can I capture the argumentN data to deliver the corresponding content (in Views, Blocks, Panels etc)? I guess I won't be able to use the URL for that as the argument data will not be part of the child domain's URL...

Thank you
If you have installed the Domain Access module, you will have the Domain Access Views module available. First thing you want to do is enable that module if you haven't already.

Once you've done that, you can use the current domain as a filter:


Under Filter Criteria, add "Domain Access: Domain ID"
"Operator" is one of "Current Domain"


Now the view will only return nodes for the domain that the block/page is loaded from.