If a user does not have sufficient permissions* to edit the node_revision information, the "Publish options" pane title still appears, despite the pane being empty. See screenshot.

*This functionality is possible using the Override Node Options module.

CommentFileSizeAuthor
Screen shot 2012-07-26 at 4.30.13 PM.jpg70.74 KBkmonty

Comments

kmonty’s picture

This is also the case with "Authoring information"

populist’s picture

Title: Pane Titles appear on empty panes on node add/edit forms » Pane Titles appear on empty panes on node add/edit forms when using Override Node Options
Project: Panopoly » Chaos Tool Suite (ctools)
Component: Admin » Code

I am moving this over to Chaos Tools since I believe this is an issue with how these node_form panes are being displayed after the altering done by Override Node Options.

populist’s picture

If others are having this problem, one option is to use the hook_panels_pane_content_alter() hook to set the title to NULL in cases where there is no content in the $content array coming through.