Closed (won't fix)
Project:
Domain
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2011 at 13:57 UTC
Updated:
21 Oct 2017 at 16:36 UTC
Jump to comment: Most recent
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 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 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 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 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