Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hey
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | ctools-node-form-content-type-1139220.patch | 1.61 KB | Nick Lewis |
Comments
Comment #1
agentrickardDo you have any idea why these form elements do not appear? Is there some hook we need to implement?
Comment #2
lpalgarvio CreditAttribution: lpalgarvio commentedprobably 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.
Comment #3
agentrickardIn D7, for instance, see ctools/plugins/node_form/node_form_author.inc
Looks like this would be a node_form addition.
Comment #4
Nick Lewis CreditAttribution: Nick Lewis commentedHere you go. You'll need to add a icon_node_form.png file to the content_types directory to prevent 404s.
Comment #5
agentrickardI have no idea how to test this.
Comment #6
lunatic CreditAttribution: lunatic commentedJust tested it and patch works fine.
Thanks @Nick Lewis
I was almost at the point to give up using panels for node edit
Comment #7
wOOge CreditAttribution: wOOge commentedJust 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'])) {
Comment #8
switch CreditAttribution: switch commentedThank you very much, patch helped a lot.
Comment #9
vonFrakas CreditAttribution: vonFrakas commentedFor anyone banging their head against this, here's how I got it to work with 7.x-1.3: