I was wondering if there is a "CCK domain reference" submodule.
The referred object is a "domain" provided by domain access modul.
Node submit form: A dropdown or autocomplete selector with the domain names.
Node view: Link to domain. The text is the "site name" or custom text, extensible by tokens..

Comments

agentrickard’s picture

There is not.

I don't quite understand this request. All this information is currently available at the theme layer, and allowing a CCK domain selector might contradict the selection(s) made for domain visibility.

You might be better off with a 'domain display' selector or formatter for CCK, which allows you to define how to print the domain element to screen. Why not try a CCK formatter? We already use hook_extra_fields() to expose the domain to CCK.

agentrickard’s picture

Status: Active » Postponed
agentrickard’s picture

Status: Postponed » Closed (won't fix)
nerdoc’s picture

Sorry to resurrect this issue. But I am in need of such a "thing" too: Is there currently a way to add a "reference" field to a node type where I can reference a domain (from Domain Access)?

I need this for a view where I have a list of domains, a (ATM parallel) list of nodes (describing the domains), and I need some data from both in that view.
A "Domain" is not an entity, so I can't use the entity_reference module, and I can't even add some own fields to a domain (which IMHO would be best solution: I need something like "Descriptive name" or the like.

So is there yet a way to reference a domain from a node?
Thanks.