Index: trunk/kernel/units/configuration/configuration_tag_processor.php =================================================================== diff -u -N -r4653 -r4808 --- trunk/kernel/units/configuration/configuration_tag_processor.php (.../configuration_tag_processor.php) (revision 4653) +++ trunk/kernel/units/configuration/configuration_tag_processor.php (.../configuration_tag_processor.php) (revision 4808) @@ -3,6 +3,12 @@ class ConfigurationTagProcessor extends kDBTagProcessor { + function Init($prefix,$special,$event_params=null) + { + parent::Init($prefix, $special, $event_params); + $this->Application->LinkVar('module_key'); + } + /** * Prints list content using block specified * @@ -98,14 +104,19 @@ $block_params = $this->prepareTagParams($params); $block_params['name'] = $this->SelectParam($params, 'render_as,block'); - $block_params['module_key'] = $this->Application->GetLinkedVar('module_key'); + $block_params['module_key'] = $this->Application->GetVar('module_key'); $block_params['module_item'] = $this->getModuleItemName(); $list->GoFirst(); return $this->Application->ParseBlock($block_params, 1); } + function ShowRelevance($params) + { + return $this->Application->GetVar('module_key') != '_'; + } + function ConfigValue($params) { return $this->Application->ConfigValue($params['name']);