I was looking for a way to define what I want in the node form sidebar and came across this issue: http://drupal.org/node/504446
This is fine for me, as a developer, but I think it would be interesting to have some kind of configuration in the backend.

The way I see it we have three options:

1. The easy way: a textarea on a settings page that takes a comma-separated list. Easy to implement, easy to process.
2. A vertical tabs like series of checkboxes in the node type edit form. Just check whatever you want in the sidebar.
3. Add an 'Admin sidebar' tab to the CCK display settings. Options would be and . This also allows us to define the order in which they sould appear etc..

On a sidenote, I think it would also be interesting to be able to choose whether the extra buttons in the sidebar appear at the top (default) or the bottom (my preference) of the sidebar.

CommentFileSizeAuthor
#4 template.patch773 bytesmhunt
#4 admin-custom-sidebar.png20.63 KBmhunt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Peter Törnstrand’s picture

Or, maybe just add common form elements such as "Author information" etc to the right column and skip the setting.

heather’s picture

oops. nvm.

mhunt’s picture

I agree. I'm looking for a way to move "Authoring Information", url path settings, publish settings, menu settings, comment settings to the sidebar of the node edit form.. So far taxonomy forms fall there.

mhunt’s picture

Issue tags: +admin patch sidebar custom
FileSize
20.63 KB
773 bytes

Attached is a patch to MOVE the following fields into the sidebar:

  • Printer, e-mail and PDF versions
  • Menu settings
  • URL path settings
  • File attachments
  • Revision information
  • Authoring information
  • Comment settings
  • Publishing options

Or you could patch your own template.php file ( sites/all/modules/admin/theme/template.php) using this:

Replace: $sidebar_fields = array('taxonomy');

With: $sidebar_fields = array('taxonomy', 'print', 'menu', 'path', 'attachments', 'revision_information', 'author', 'comment_settings', 'options');

You can use: dpm($form); to identify the form fields (that is also in the patch commented out)

There is also a screenshot attached.

Be sure that if you are using vertical tabs that those are turned off in the content type settings if you want those fields to show up in the sidebar.