【发布时间】:2013-08-22 04:05:22
【问题描述】:
我在 magento 1.7.2 中创建了 2 个 CMS 页面
让我们说 cms 页面“关于我们”,它是 URL
http://localhost/magento/index.php/about-company/?___store=default
以及“客户服务”页面,即 URL http://localhost/magento/index.php/customer-service/?___store=default
在我的 HEADER.PHTML 中,getChildHtml('topMenu') ?> 行显示了顶部菜单。
问题在于“topMenu”仅包含由 Catalog->Manage Categories
创建的类别包含 2 cms 页面的适当方式是什么(“关于我们”和“客户服务”) 在“顶部菜单”中?
感谢您的帮助!
【问题讨论】:
-
你必须在
topmenu.phtml中编码