Closed (duplicate)
Project:
Path Filter
Version:
6.x-2.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2010 at 14:03 UTC
Updated:
5 Jan 2010 at 00:48 UTC
Hi, I am using a translated block (setting All languages (Translatable) in the block properties) but using pathfilter in the translation does not seem to work.
Can you please test and help me to find out if this is a pathfilter issue or a more general drupal issue?
Steps to replicate my problem on a multilingual site:
admin/build/translate and translate the block into another language keeping the pathfilter patternWhat happens is that, even when we see the translated version on the page, the filter is applied to the original version. You can verify this by printing out the $text variable inside pathfilter_filter():
drupal_set_message('<pre>' . var_export($text, TRUE) . '</pre>', 'warning');
Thanks,
Antonio
Comments
Comment #1
ao2 commentedAfter some investigations, it looks like the problem relies in block/i18nblock: when
check_markup()is invoked inblock_block, all the filters are applied to the original version of the block, not to the translation.Closing the issue here and opening one regarding blocks.
Thanks,
Antonio.
Comment #2
ao2 commentedDuplicate of #674374: Filters not applied to translated blocks (check_markup() never called on translation).