Maybe its a simple question, but not for beginners 🙂 . How can I add item to the admin menu? also with submenus in magento ?
I created a module, which have the following structure
the content of config.xml is :
<?xml version="1.0"?>
<config>
<modules>
<Netgroup_Attributegrouping>
<version>0.1.0</version>
</Netgroup_Attributegrouping>
</modules>
</config>
and the content of adminhtml.xml is :
<?xml version="1.0"?>
<config>
<menu>
<attributegrouping translate="title" module="attributegrouping">
<title>AttributeGrouping</title>
<sort_order>210</sort_order>
</attributegrouping>
</menu>
</config>
and the content of Helper/Data.php is:
<?php
class Netgroup_Attributegrouping_Helper_Data extends Mage_Core_Helper_Abstract
{
}
the file from modules/Netgroup_AttributeGrouping.xml content is :
<?xml version="1.0"?>
<config>
<modules>
<Netgroup_Attributegrouping>
<active>true</active>
<codePool>local</codePool>
</Netgroup_Attributegrouping>
</modules>
</config>
BUT the result is nothing. What should I do ? thx
Best Answer
I notice you did not defind Helper in config.xml So you should add the following thing: