0

I have a Drupal installation using Domain Access. Is there a solution for inserting links on nodes using WYSIWYG-Editor considering if the node is published to the particular domain. For Example:

Node A, published to domain Y and Z, has a link to node B, published only to domain Z. Viewing node A on domain Z the link is rendered as a link. Viewing node A on domain Y the link is rendered as plain text (without

Thanks in advance

  • Are you using the WYSIWYG module or CKEditor or the like? Which WYSIWIYG editor are you using if you are using the former? – Chapabu Mar 16 '12 at 16:08
  • I'm using WYSIWYG with TinyMCE – Toothrot Mar 16 '12 at 16:11
2

See the LinkIt project.

Its flexible API should let you hook into the node listing logic it uses to inject SQL to group node listing by Domain. You should be able to make a plugin with it ... I see no existing solution off-hand (I've used LinkIt and DomainAccess, but not had users linking around sub-domains from the WYSIWYG. My domains were very separate from one another).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.