When adding a block that was created via the "Add Block" admin interface to a panel, the title of the block isn't displayed when viewing the panel. Seems to happen with any custom block that is created via the admin interface, and the title doesn't show for any style (none, Rounded Corners, or System Block).

CommentFileSizeAuthor
#3 ctools-contenttypes-block-block.patch763 bytesdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

i can confirm this bug

the problem is http://api.drupal.org/api/function/block_block

it does not return the subject/title of the block

merlinofchaos’s picture

Right, I forgot about that, and the code to correct for it is currently commented out in block.inc. Shouldn't be too hard to move the right piece of code.

dawehner’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 6.x-3.0-beta1 » 6.x-1.x-dev
Component: Plugins - content types » Code
Status: Active » Needs review
FileSize
763 bytes

its currently just jumped over because

<?php
  // TEMP: Disabling block visibility checking. Ultimately we may be able to
  // finally just say it's not supported.
  return $block;
?>

So it seams you don't want to support this anymore, perhaps this patch help here.

move to Ctools

merlinofchaos’s picture

Status: Needs review » Fixed

Committed. Thanks dereine!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Summit’s picture

Hi,
Good this bug that not all blocks are shown in panels add content-miscellaneous : http://drupal.org/node/473358 be related?
Greetings, Martijn

stugacz’s picture

dereine:

Just how and where is this patch to be applied?
This question is from a noobie with limited knowledge and experience with panels.

stugacz