Custom tab in magento admin system configuration :
How to create custom tab or menu from magento admin system configuration section. Easiest way to create, just need to follow below steps
We just want to create below two files, in your required place. Here my module is called Jutecustommodule.
app\code\local\Jute\Jutecustommodule\etc\system.xml
app\code\local\Jute\Jutecustommodule\etc\config.xml
system.xml:
In this file only we are going to configure our menu or tab. Yes
<?xml version=”1.0″?>
<config>
<tabs>
<jutecustommodule translate=”label” module=”jutecustommodule”>
<label>jutecustommodule</label>
<sort_order>301</sort_order>
</jutecustommodule>
</tabs>
<sections>
<jutecustommodule translate=”label” module=”jutecustommodule”>
<label>3rd Party Integration</label>
<tab>jutecustommodule</tab>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<jutecustommodule_option translate=”label”>
<label>Tab 1</label>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<tab1_field translate=”label”>
<label><![CDATA[ Jute Tab <strong style=”color:red”>*</strong>]]></label>
<validate>required-entry</validate>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</tab1_field>
</fields>
</jutecustommodule_option>
<tab2_field translate=”label”>
<label>Tab 2</label>
<frontend_type>text</frontend_type>
<sort_order>11</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<tab2_url translate=”label”>
<label><![CDATA[ Tab 2 <strong style=”color:red”>*</strong>]]></label>
<validate>required-entry</validate>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</tab2_url>
</fields>
</tab2_field>
</groups>
</jutecustommodule>
</sections>
</config>
Once above code then, if you are trying to check it from admin, you will get Error 404 message. Then how to resolve this issue, just follow below declaration from config.xml
config.xml:
<adminhtml>
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
<admin>
<children>
<system>
<children>
<config>
<children>
<jutecustommodule translate=”title” module=”jutecustommodule”>
<title>jutecustommodule</title>
</jutecustommodule>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</adminhtml>
Cleare cache and check you will get the resule from magento admin section.
———————————————————————————————————————————————————————
Corner of Blog:
“Save Trees,Save the Eart”
———————————————————————————————————————————————————————