我有一個客戶端,它有一個加載自定義類別頁面的magento站點,其中一個$ this-> getChildHTML('content')在加載頁面後拋出一堆代碼。它只是在一個頁面上,它看起來像它傾銷PHP結束標籤。magento中自定義分類頁面的getChildHTML('content')的位置在哪裏?
getCurrentCategory()?> getCurrentChildCategories()?> count()):?> getIsActive()): $cur_category=Mage::getModel('catalog/category')->load($_category->getId()); $layer = Mage::getSingleton('catalog/layer'); $layer->setCurrentCategory($cur_category); $catName = $this->getCurrentCategory()->getName(); if($_imageUrl=!$this->getCurrentCategory()->getImageUrl()):?>
getCurrentCategory()->getImageUrl()):?>
getName()?>
setCurrentCategory($_maincategorylisting); ?>
我似乎無法找到有錯誤的頁面。我不知道getChildHTML中'內容'的位置。類別頁面是自定義的,並且不顯示任何產品,只是其中一個產品的圖像。我想改變這些網頁來展示產品和其他一些東西,但我只是不知道這些自定義類別頁面所在的位置。有每個類別的自定義模板,但他們都使用相同的getChildHTML('內容')調用...
我試圖下載整個網站,並在類別頁面上執行文本搜索的代碼位,但找到沒有。請幫忙!
順便說一句,如果你已經知道,我是新的magento,可能會留下很多重要的信息,所以如果你認爲我需要發佈更多的信息,請說出來。
在此先感謝!