假设我想为目录dir1设置svn:ignore属性,其中包含多个值file1,file2和file3.如何在不使用文本编辑器(设置属性值)的情况下通过命令行执行此操作?
layout中的remove和unsetChild方法有什么区别?
例如(在poll.xml布局文件中):
<customer_account_index>
<reference name="right">
<action method="unsetChild"><name>catalog_compare_sidebar</name></action>
</reference>
</customer_account_index>
Run Code Online (Sandbox Code Playgroud)
为什么unsetChild而不仅仅是删除?
无法删除Magento EE 1.10.1.1版本中的js/jqzoom/jquery-1.3.1.min.js脚本.此脚本正在app/design/frontend/enterprise/default/layout/catalog.xml中添加(在第196行附近).
这是我的local.xml布局文件中的代码:
<catalog_product_view>
<action method="removeItem"><type>skin_js</type><name>js/jqzoom/jquery-1.3.1.min.js</name></action>
</catalog_product_view>
Run Code Online (Sandbox Code Playgroud)
如何在不修改核心布局文件的情况下删除此脚本?谢谢.