Closed (won't fix)
Project:
Domain
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2008 at 17:32 UTC
Updated:
5 Aug 2011 at 18:19 UTC
Is it possible to have nodes default publish to a user's domain as well as a root domain without publishing to 'All affiliates'? The problem that I am having with 'All Affiliates' is it is too global, and it would be nice if a default setting was available to have a typical node publish to the user and root domains.
I am fairly new to Drupal, and when it comes to coding, my skills are limited so far. Perhaps I should be looking at this problem differently, and resolve through the Views module?
Comments
Comment #1
agentrickardEasy to do in code, maybe someone has written it?
Comment #2
nonsieAdding my 2 cents - it would be awesome if publishing could be grouped (with a separate realm) for grouped subdomains. Using location based sites (each city as a subdomain) as an example:
Group 1: all cities in US
Group 2: all cities in Canada
In publishing options a user with sufficient publishing perms would see the options to publish to
1. all affiliates
2. affiliate group(s) such as group 1 and group 2
3. individual subdomains
In domain settings one could define one or more groups the subdomain belongs to....
Comment #3
agentrickardAlso easy to implement, using existing APIs. Any takers?
Comment #4
mtopro commentednonsi- that takes the idea to another level, but that is exactly what I am talking about. I am happy to help any way I can, although as I said I am still learning.
Comment #5
agentrickardNo need to use a separate relam -- though you could -- just use hook_form_alter() to create group clusters. Also see hook_domainrecords() and hook_domaingrants().
Comment #6
nonsieKen, my idea was to have groups so that when you add another subdomain and assign it to a group all content published to that group will be available on the newly created subdomain (hence separate realm).
I'd love to pick your brain on that if you ever have a free minute. It's something I need to implement by the end of the year on one of my sites.
Comment #7
agentrickardYou could do it with a new realm, or just do it by clustering several existing gids for the existing domain_id realm. The first method is less database storage, the second, a little easier to implement.
Both can be accomplished pretty easily, but I doubt I will have time to work on them.
I am not working on any new features until #298696: * ROADMAP * Please read this first is completed.
Comment #8
agentrickard