我需要建立它,因为它已经消失了!我有1.6.2 CE与Bluescale主题。由于菜单消失,我无法启动。
答案 0 :(得分:0)
最初这个区块叫top.links
它是在page.xml
<block type="page/html_header" name="header" as="header">
<block type="page/template_links" name="top.links" as="topLinks"/>
....
</block>
然后每个块都在那里添加链接。例如客户模块:
<reference name="top.links">
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
</reference>
此块已在page/html/header.phtml
<?php echo $this->getChildHtml('topLinks') ?>
因此,您必须查看layout
个文件和header.phtml
,以查找删除或删除top.links
的位置。如果无法尝试调试Mage_Page_Block_Template_Links
逻辑。