【发布时间】:2011-04-26 04:26:57
【问题描述】:
我在后端创建了一个新菜单,并添加了一些子菜单。其中一个名为“Manage Pages”的子项必须检索与以“CMS_”开头的属性集相对应的所有产品,并且不应包含价格列。
到目前为止我已经这样做了:
app/code/community/Mycompany/Content/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<Mycompany_Content>
<version>0.1.0</version>
</Mycompany_Content>
</modules>
<adminhtml>
<menu>
<newmenu translate="title">
<title>Content</title>
<sort_order>31</sort_order>
<action>adminhtml/newmenu/</action>
<children>
<newchildmenu translate="title">
<title>Manage Pages</title>
<action>adminhtml/newmenu/</action>
</newchildmenu>
<newchildmenu1 translate="title">
<title>Manage Attributes</title>
<action>adminhtml/catalog_product_attribute</action>
</newchildmenu1>
<newchildmenu2 translate="title">
<title>Manage Categories</title>
<action>adminhtml/catalog_category/</action>
</newchildmenu2>
</children>
</newmenu>
</menu>
</adminhtml>
</config>
app/etc/modules/Mycompany_Content.xml
<?xml version="1.0"?>
<config>
<modules>
<Mycompany_Content>
<active>true</active>
<codePool>community</codePool>
</Mycompany_Content>
</modules>
</config>
再一次,这就是我想要的: - 当我按下“管理页面”时,我想被发送到一个“管理产品”页面,该页面根据一组特定的属性进行过滤 - 名称以“CMS_”开头且没有价格列的属性集。
我该怎么做?
提前致谢! 高温
好的,也许我可以尝试剖析问题。
如何在后端创建一个根据特定属性集过滤的“管理产品”页面的副本?
【问题讨论】:
-
您已经在这里问了十几个问题。如果您遇到特定问题,Stack Overflow 可以为您提供帮助。它无法为您构建解决方案。
标签: php xml layout magento admin