2013-08-04 161 views
0

我一直在为joomla 3.1创建模板,我遵循joomla doc如何创建它的指示。每件事情都很好。但是,当我设置模块标题显示在前端时,该模块标题未显示。以下是我的模板代码片段模块标题没有在Joomla自定义模板上显示

<?php 

defined('_JEXEC') or die('Restricted access'); 

JLoader::import('joomla.filesystem.file'); 


?> 
<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" > 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<jdoc:include type="head" /> 
</head> 
<body> 
<jdoc:include type="modules" name="top" /> 
<jdoc:include type="component" /> 
</body> 
</html> 

显示所有模块内容。没有显示模块标题。感谢您的提前

回答