Made ( Magento 1.9
) in System -> Configuration -> Services a new section in this way:
system.xml
<?xml version="1.0" encoding="UTF-8" ?> <config> <tabs> <service translate="label" module="core"> <label>Services</label> <sort_order>99999</sort_order> </service> </tabs> <sections> <brain_caliber translate="label"> <label>Caliber API</label> <tab>service</tab> <sort_order>1000</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> <groups> <brain_caliber_group translate="label"> <label>Configuration Caliber</label> <frontend_type>text</frontend_type> <sort_order>1000</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> <fields> <brain_caliber_password translate="password"> <label>Password</label> <comment>Password for caliber service</comment> <frontend_type>password</frontend_type> <sort_order>20</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> </brain_caliber_password> <hexbrain_caliber_email translate="label"> <label>Email</label> <comment>Email for caliber service</comment> <frontend_type>text</frontend_type> <validate>validate-email</validate> <sort_order>20</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> </brain_caliber_email> </fields> </brain_caliber_group> </groups> </brain_caliber> </sections> </config>
The new section appears in the Services
tab but when you click - an error
404 Error Page not found.
What could be the problem? Or did I do something wrong?
rm -rf var/session/*
did! I thought for a long time what was wrong - and remembered that I didn’t enter the<acl>
section in theconfig.xml
! I added it and started working! - Maybe_V 2:42 pm