2013-03-08 43 views
1

我使用的是joomla1.5和virtuemart1.1.9我已經包含在管理模塊它顯示在所有頁面 除了我爲virtmart創建的菜單。我想知道爲什麼會發生這種情況。我已經分配了菜單鏈接直接給它在index.php模塊沒有顯示在virtmart

<li><a href="index.php?option=com_virtuemart&Itemid=28""><img src="<?php echo $this->baseurl ?>/templates/animal/images/shop.jpg" width="101" height="31" /></a></li> 

爲什麼virtmart菜單中沒有顯示模塊。

的index.php中

<div id="mainBlock"> 
    <div id="col1"> 
    <div id="tab"></div> 
     <div class="scrollbox"> 
    <jdoc:include type="modules" name="news" /> 
    <jdoc:include type="modules" name="top" /> 
    </div> 
    <a href="index.php?option=com_joomgallery&Itemid=4"><img src="<?php echo $this->baseurl ?>/templates/animal/images/photogallery.jpg" width="295" height="334" /></a> 
    </div> 
    <div id="col2"> 
     <jdoc:include type="modules" name="shopmodule" /> 
     <jdoc:include type="component" /> 
    </div> 
    </div> 

但沒有

顯示的,請在this

檢查爲什麼模塊沒有在Virtuemart組件頁顯示?

回答

2

我認爲這是因爲你直接在模板中給出了菜單。只需使用菜單管理器中的外部URL功能添加菜單並檢查它。