Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First of all, this module is great! I have never stopped admire it
i'm use domain access 7.x-3.0-rc5.
I do not want to use "Publish content to any assigned domain" permission or "Show on all affiliate sites" features.
is there a feature in this version for automaticaly publish a node from subdomain to subdomain and root domain ?
or is it only can handled by create a custom module refer to http://drupal.org/node/922410 ?
Thank in advance
Comments
Comment #1
agentrickardCustom module. Though if you can come up with a workable user interface for this feature, we might consider adding the new feature.
Comment #2
anjjriit CreditAttribution: anjjriit commentedI have read several issue like this in D6 version.
I can't write a code so i don't know how difficulty to realize it, but i think is very good to add this feature in this version.
if you don't mind i'd like to post an idea:
is it possible to add this feature in "domain setting"
at under fieldset "Send to all affiliates" and at upper "Debugging status".
The form for this feature is like "Send to all affiliates" fieldset but with a title something like "Send to all assigned domain".
or to add a permission under "Publish content to any assigned domain " with a title something like "Publish content to assigned domain ".
So user with this permission will automaticaly publish their content to all selected affiliates domain for this user.
I'm sure there are a lot of user need this feature.
One more time, thanks a ton for released this module.
Comment #3
agentrickardThat's a pretty good description, actually.
I think my preference might be to move those settings to a new tab, because I think they could be very complex.
Comment #4
anjjriit CreditAttribution: anjjriit commentedI'd like to create a site with around 100 teacher in a school.
each teacher need a subdomain.
They want to publish book node from every subdomain to main domain.
is your code in http://drupal.org/node/922410#comment-3492328 work in 7.x-3.dev version ?
i'm not a coder but i've try to create a submodule named domain_custom_affiliate with 2 file: domain_custom_affiliate.info and domain_custom_affiliate.module.
Then i copied your code to be
installed it without an error but this module is not working.
If this code is not complete, would you help us to completed this module so we could use it as a quick solution ?
Thank in advance, and i very appreciate for your help.
Apologize if this request excessive.
Comment #5
agentrickardThe problem is that hook_domainrecords() was put into D7 core as hook_node_access_records_alter().
Try modifying your code to use the new hook. Note that you must then save the changes to the {domain_access} table. See domain.API.php or domain_node_access_records() for examples.
Comment #6
anjjriit CreditAttribution: anjjriit commentedThis is my latest modification.
saved book node from sub domain is still do not automatically publish to main domain.
Please, i need any advice.
Comment #7
agentrickardDomain id with gid of zero is incorrect in 7.x.3. Use domain_default_id().
Comment #8
anjjriit CreditAttribution: anjjriit commentedThanks a lot for your advice !!!
This is my latest code, i can automatic publish book page from subdomain and automatically publish it to main domain.
is it will be an additional feature for domain access ?
Comment #9
agentrickardI think if we can work out the UI (as mentioned in 2 and 3 above), then it's a good feature.
Comment #10
agentrickard