Question : Automatically Connecting Multiple Drupal Sites



I am trying to connect multiple BP sites in a Grandparent- Parent- Child- Grandchild format so that if a member registers and joins a lower site (Grandchild site) they will automatically be registered in the higher sites.


Example: For an educational site we would like to have a Global Site (Grandparent) a Country Site (Parent) and City Site (Child) and a Organization Site (Grandchild). In this case if someone registered for a private organizational site, lets say a School, they would automatically be registered in three other sites (City, Country and Global) and would be able to have their information auto populated in these other sites and use the same user name and password that they used in the first site.

Any thoughts on how to do this could be done?

Thanks,
JP

Answer : Automatically Connecting Multiple Drupal Sites


function checkbox() { // no semicolon here
 var checkCount=0;
 var alder = document.nameOfForm.alder;
 for (var i=0; i<alder.length;i++) {
   if (alder[i].checked) checkCount+=1; // add one
 }
 if (checkCount != 1) {
   alert('Checka 1 och bare 1');
  return false;
 }
 return true;
}


However depending on where you call this, you might want to UNCHECK the one you checked too many
Random Solutions  
 
programming4us programming4us