Index: trunk/xpressme_integration_kit/include/xpress_block_render.php
===================================================================
--- trunk/xpressme_integration_kit/include/xpress_block_render.php	(revision 465)
+++ trunk/xpressme_integration_kit/include/xpress_block_render.php	(revision 472)
@@ -214,5 +214,5 @@
 		if (!$tpl->template_exists($templates_file)){
 			$src_file_path = $xoops_config->module_path . '/templates/' .$mydirname. '_' . str_replace(".php", ".html", $block_function_name);
-			add_xpress_tpl($mydirname,$templates_file,$src_file_path);
+			$templates_file = add_xpress_tpl($mydirname,$templates_file,$src_file_path);
 		}
 		$tpl->assign( 'block' , $block ) ;
@@ -242,5 +242,7 @@
 				}
 			}
-		}
+			return  'file:' . $filename;
+		}
+		return $templates;
 	}
 	
