Reputation: 353
i'm new to developing extensions for Magento. I created an admin extension. The configuration menu can be accessed in the system-> configuration - menu.
I created a small extension where you can enter your email and save it. The menu appears, but when I save my configuration I get a 404 error.
I created under Companyname\Modulename the folders Helper, Model and etc.
The helper contains the necessary Data.php file. The etc contains 3 xml files: adminhtml, config and system.
You can see the xml here: http://pastebin.com/ZqiuqVAB
Any idea what the problem is?
Upvotes: 1
Views: 51
Reputation: 8050
Have you tried to clear cache en sessions and login again?
It could also be a problem with your ACL. Check this out:
http://alanstorm.com/magento_acl_authentication
Looking at your adminhtml.xml, I'm missing outer tags. Wrap your adminhtml.xml between:
<?xml version="1.0"?>
<config>
// Your adminhtml.xml code
</config>
Upvotes: 1
Reputation: 286
please do the following change in your system.xml
<Emailexport_domain translate="label comment">
<label>E-Mail: </label>
<comment><![CDATA[Die E-Mail Adresse, an der täglich der Bestellungsexport versendet werden soll.]]></comment>
<frontend_type>text</frontend_type>
<sort_order>220</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</Emailexport_domain>
And change
<dgroup translate="label" module="Emailexport">
with
<dgroup translate="label" module="emailexport">
Upvotes: 0
Reputation: 11533
Please update below code in your system.xml
<Emailexport_input translate="label">
<label>E-Mail: </label>
<comment>Die E-Mail Adresse, an der täglich der Bestellungsexport versendet werden soll.</comment>
<frontend_type>text</frontend_type>
<sort_order>220</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</Emailexport_input>
Let me know if you have any query
Upvotes: 0