Hi Warwick,

To achieve enforce this three-level relationship with the Domain module a small amount of custom code will be needed.
This is how I would tackle the problem:
Set the Domain module to that nodes are only visible on the site which they are posted to then write an implementation of hook_domainrecords() in which I would grant view access to the other domains which should be able to see the node. eg. if a node were submitted at taupo.domain.com, the hook implementation would also grant access to waikato.domain.com and domain.com.

If you want a website per region then Domain is the way to go. If you want one site with some content which is regionalised then a Taxonmy + views type solution would work best.

Aaron



On 15/03/2011 12:07 p.m., Warwick wrote:
Hi Aaron

Sorry to belabour the point but then is this scenario possible?


Content from

taupo.domain.com

can be viewed in

waikato.domain.com

and

domain.com

but not in

canterbury.domain.com


Is this possible to automate? Because I couldn't expect the posters
to  get it right or remember to do it each time.

Thanks Aaron.

Cheers
Warwick


--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to