Closed (fixed)
Project:
Internationalization
Version:
5.x-2.0
Component:
Module i18nblocks
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2007 at 13:30 UTC
Updated:
5 May 2007 at 23:46 UTC
Steps to reproduce the problem
Some analysis
Title management of blocks generated by block.module changed in Drupal 5 as the title can be now overriden by the administrator.
See this commit for details:
http://cvs.drupal.org/viewcvs/drupal/drupal/modules/block/block.module?r...
The problem is when i18nblocks_block() invokes block_block(), this function now only returns the block 'content' (not the 'subject').
The attached patch retrieves the title manually. I do not see a better way to workaround this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| i18nblocks_module_01.patch | 960 bytes | PierreM-1 |
Comments
Comment #1
slaffka commentedI had the same problem. I downloaded this patch and manually changed the strings in my code (vs. messing up with the patch software on Windows box).
The patch worked for me: I can see the titles passed from language-depended blocks to the multilingual block.
Comment #2
jose reyero commentedThe i18nblocks module has been completely reworked and this should not be an issue anymore. Thanks for the patch though.
Comment #3
(not verified) commented