Closed (fixed)
Project:
Nodeblock
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Feb 2010 at 12:52 UTC
Updated:
11 Jul 2013 at 12:21 UTC
Jump to comment: Most recent file
Nodeblock checks if node is translatable and if a translation in the current language is available. If you create a node only in one specific language there is no "translation" found (tnid is 0), because it is the original node, and nodeblock does not display the block even if the content is in the current language.
I added a condition to display the block if there's no "translation" but the language is the current one.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | one-language-707132-5.patch | 803 bytes | rjmackay |
| one-language.patch | 1.22 KB | Standart |
Comments
Comment #1
tom_o_t commentedThanks for the patch. Will test and commit - looks like this is the correct fix.
See also #689574: Unexpected behavior for translation fallback regarding a site's default language (marked as duplicate of this issue)
Comment #2
marcus_clements commentedI'm using this module and I encountered this problem.
The fix seems good.
Comment #3
shawngo commentedSame issue. Patch fixed the problem. Thanks!
Comment #4
Standart commentedComment #5
rjmackay commentedAdding rerolled -p0 patch.. may be useful to some people.
Patch works well - can we get this committed??
Comment #6
Johnny vd Laar commentedI've committed the patch. Please check if everything works now.