Hi guys!
I have created a new menu in my backend, and added some children. One of these children named "Manage Pages" must retrieve all the products that correspond to the attribute sets that begin with "CMS_" and should not have a price column.
I have done this so far:
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>
Once again, this is what I want: - when I press “Manage Pages”, I want to be sent to a “Manage Products” page filtered on a certain set of atrributes - sets of attributes that have names begining with “CMS_”, and without the price column.
How do I do that?
Thanks in advance! HT