Our clients use the Bean module to create custom blocks, and then place the blocks on the site using the Context module. There are two issues they want resolved.
First, there are many times where they have blocks of different bean types with the same name. For example, there is a "company" bean type and a "sponsor" bean type. "Procter & Gamble" can be both a company and a sponsor. It's impossible for the client to know which bean is being selected in Context (or the Block module, for that matter), because no additional information is provided.
Second, the use of check_plain
causes html characters to be displayed. Instead of the bean being listed as "Procter & Gamble
" in the Context and Block modules, the client sees "Procter & Gamble
".
We've created a small patch that resolves both of these in hook_block_info
. I'll post in a few minutes for review.
Comment | File | Size | Author |
---|---|---|---|
#2 | bean-better_labels-2710507-2.patch | 821 bytes | ron_s |
|
Comments
Comment #2
ron_s CreditAttribution: ron_s commentedPlease review the attached patch. Thanks.