I have Block Title link working with blocks and it is fine when assigned to regions in the template, but when a block is added to region in a panel the title is not a link.

Comments

ngmaloney’s picture

Assigned: Unassigned » ngmaloney

Could you verify that the block template being used by the panel does have the appropriate template variable changes needed by the module? See the example_block.tpl.php for reference.

neclimdul’s picture

Panels doesn't use the normal block theming for blocks. Its sort of complicated but it uses the block content_type provided by ctools to "render" the block into more reasonable elements(mostly just to the block object after op 'view') and then panels-pane.tpl.php for the actual theming. I don't know if its possible that this could support this by preprocessing panels_pane and sniffing for the content type or something but that'd be my guess on how to accomplish it.

ngmaloney’s picture

Thanks for the additional info. I'll take a look and see what is possible.

geek-merlin’s picture

subscribing

in my understanding of drupal theming, using preprocess functions is more appropriate for this module as theming functions!

ngmaloney’s picture

Status: Active » Closed (won't fix)

This appears to be more of a function of how CTools renders blocks. If anyone could provide some code to help with a patch I'd be happy to take a look.