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.
Hi,
Bit confused about this - i'm trying to override the template for a relevant content bean, which i expected would be possible in bean.tpl.php like regular beans.
However, inspecting the markup when viewing the bean, it appears that bean.tpl.php is being used but the content is empty (just an empty wrapper div), with the bean content output immediately below the bean.tpl markup.
This seems like bug? I could not find what is actually it outputting the bean content - it was "just there" in the page render array (you can see it in a hook_page_alter())
Cheers
Comment | File | Size | Author |
---|---|---|---|
#1 | bean_relevant-template_ignored-2033853-1.patch | 751 bytes | rrbambrey |
Comments
Comment #1
rrbambrey CreditAttribution: rrbambrey commentedLooks to me as if the problem stems from the fact the bean content is being indexed incorrectly when being injected into the object. e.g.
whereas beans are standardly structured to use delta not bid i.e.
patch against dev attached
Comment #2
bleedev CreditAttribution: bleedev commentedFixed in an earlier commit.