【问题标题】:How to edit the styles of extension in Magento?如何在 Magento 中编辑扩展样式?
【发布时间】:2016-06-27 07:59:49
【问题描述】:

我刚刚安装了一个扩展,用于在 magento 的列表页面中显示垂直导航菜单。扩展名是https://www.magentocommerce.com/magento-connect/vertical-navigation-with-css-classes.html。它在 template\vertnav\left.phtml 中有 left.phtml 文件。我希望在 template\catalog\layer\view.phtml 中显示垂直导航并更改其样式。所以我将 left.phtml 的内容复制到 view.phtml 但错误显示如下:

这是我的第一个扩展。请帮助。

【问题讨论】:

    标签: css magento


    【解决方案1】:

    您不能在每个文件中调用每个方法。 查找扩展 xml 文件。 打开它,然后在 catalog_category_default 和 catalog_category_layered 下使用扩展 xml 标记中的所有块和 css。 现在您可以在 view.phtml 中调用这些函数

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-18
      • 2018-03-26
      • 1970-01-01
      相关资源
      最近更新 更多