我想使用代碼修改頂層菜單。我希望它能顯示頂層頁面的列表。這怎麼可能?如何添加鏈接到Magento的頂部菜單?
0
A
回答
0
您可以修改此文件'\app\design\frontend\yourtheme\template\page\html\topmenu.phtml
'並在其中添加自定義代碼以顯示頁面列表。
0
`<reference name="top.links">
<block type="checkout/links" name="checkout_cart_link">
<action method="addCartLink"></action>
<action method="addCheckoutLink"></action>
</block>
</reference>
+0
它添加page.xml文件在整個網站申請 –
相關問題
- 1. 如何將外部鏈接添加到magento頂層菜單項
- 2. 將M博客鏈接添加到Magento頂部菜單
- 3. 使用xml magento將鏈接添加到頂部菜單
- 4. 在Magento中添加靜態鏈接到頂部導航菜單
- 5. magento - 添加鏈接頁腳,但不是頂部導航菜單
- 6. 添加自定義鏈接到頂部鏈接Magento的
- 7. 如何從magento的頂部菜單中刪除「主頁」鏈接?
- 8. Magento 1.7頂部菜單 - 子菜單鏈接生成器
- 9. 在Magento菜單中添加鏈接
- 10. 無法找到頂部菜單 - Magento的
- 11. Magento將id屬性添加到頂部鏈接
- 12. 如何將菜單鏈接添加到菜單的最右側
- 13. 如何將菜單連接到頂部
- 14. 如何添加外部鏈接到Angular SPA菜單?
- 15. 將innerhtml添加到頂部鏈接
- 16. magento頂部鏈接更改
- 17. Magento - 添加根類別鏈接到菜單
- 18. 添加首頁鏈接到Magento菜單欄
- 19. 如何將模塊添加到頂部欄菜單openerp
- 20. 如何將圖像添加到redmine頂部菜單?
- 21. 添加鏈接到子菜單
- 22. Magento - 硬編碼頂級導航菜單項鍊接到外部網站
- 23. 如何在magento 2中添加自定義頂級鏈接?
- 24. Magento:如何將頂部鏈接移動到導航區塊?
- 25. Magento中的頂部鏈接被剝離
- 26. 如何不添加箭頭到jQuery子菜單中的鏈接?
- 27. 如何添加一些類到WordPress的菜單鏈接?
- 28. 如何禁用Wordpress頂部菜單鏈接?
- 29. 如何將外部URL鏈接設置爲Magento管理菜單
- 30. Drupal添加外部鏈接到自定義菜單
你可以得到的網頁集合:https://stackoverflow.com/a/17379955/5635098 –