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.
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
Comment #1
ngmaloney CreditAttribution: ngmaloney commentedCould 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.
Comment #2
neclimdulPanels 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.
Comment #3
ngmaloney CreditAttribution: ngmaloney commentedThanks for the additional info. I'll take a look and see what is possible.
Comment #4
geek-merlinsubscribing
in my understanding of drupal theming, using preprocess functions is more appropriate for this module as theming functions!
Comment #5
ngmaloney CreditAttribution: ngmaloney commentedThis 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.