Closed (fixed)
Project:
Block reference
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2008 at 18:16 UTC
Updated:
14 Dec 2008 at 18:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
g76 commentedforgot to attach screenshot. sorry.
Comment #2
danielb commentedHmm seems I need to some more field formatter options!
If you know how you could theme the default formatter correctly
here is the original theme function for reference
Comment #3
g76 commentedThanks for the reply. I wish I knew more about this, I would be more than happy to help, but I am not a coder. I feel at a loss. Maybe if this issue is left open, others can pitch in who have a better understanding of things. Again, I am sorry I can't help, I wish I could.
Comment #4
danielb commentedI will jump on and work out the solution before the end of the week I suspect it is this (off the top of my head)
Comment #5
manuel garcia commentedThat isn't working danielb... apparently the array $block_view only has 'content' in it... , at least in my print_r().
Comment #6
manuel garcia commentedOk, I have gone again in the code and I think i understand a bit better what's going on...
Forgive me but I'm not in the know on how to make patches,.. this is what fixes the issue:
Problem is in this function inside blockreference.module
Change the line:
$block->content = $block_view['subject'] . $block_view['content'];To this:
$block->content = $block_view['content'];And add this line below that one:
$block->subject = $block_view['subject'];For the time being, people you can just override this function in your template.php until it is fixed in the next release.
You can do so using this:
Comment #7
danielb commentedThat's it, is it? Thanks for working that - out we've had some massive storms here with power outages and all sorts of nonsense so I haven't had a chance.
Comment #8
manuel garcia commentedAs far as we can tell, that does fix the issue yep, although it'd be nice if someone else actually tested it and gave their feedback here just in case.
Comment #9
danielb commentedComment #10
danielb commentedI have commited the code in version 6.x-1.10
Comment #11
manuel garcia commentedgreat, thanks danielb