we need need further support for Panels/ctools to be able to add the domain access options to the node edit form for example.

at the moment there is no support for that, AFAIK:
Field form: Body
Field form: Groups audience
General form
Node form author information
Node form book options
Node form comment settings
Node form menu settings
Node form publishing options
Node form revision log message
Node form submit buttons
Node form url path settings

there is however support for other modules, like Fields/CCK, Flag, Fivestar and OG.

please add this feature to the 6.x and 7.x versions.



agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

Do you have any idea why these form elements do not appear? Is there some hook we need to implement?

lpalgarvio’s picture

probably a hook, yes

check how they did it for Flag module.
a unofficial module, yet to be implemented, has the code here - http://drupal.org/node/332956
once its completed, they will merge with flag module.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Active

In D7, for instance, see ctools/plugins/node_form/node_form_author.inc

Looks like this would be a node_form addition.

Nick Lewis’s picture

Status: Active » Needs review
1.61 KB

Here you go. You'll need to add a icon_node_form.png file to the content_types directory to prevent 404s.

agentrickard’s picture

I have no idea how to test this.

lunatic’s picture

Status: Needs review » Reviewed & tested by the community

Just tested it and patch works fine.

Thanks @Nick Lewis

I was almost at the point to give up using panels for node edit

wOOge’s picture

Status: Reviewed & tested by the community » Needs review

Just tested patch from #4 on ( 7.x-1.3 dated: 2011-Nov-06) ( using Domain Access version: 7.x-3.x-dev tar.gz 2013-Aug-17 ) and the following line in the patch:

if (isset($block->content['author']['#group'])) {

has to be changed TO:

if (isset($block->content['domain']['#group'])) {

switch’s picture

Issue summary: View changes

Thank you very much, patch helped a lot.