Adding custom admin config options in Magento

I had  a problem   related to the admin configuration options in Magento. (not 100% resolved yet) .  It took me  some time to figure it out.  To have your magento module add it’s own configuration options in the sytem area , there are (theoretically) some simple steps to follow. However , I obtained the access denied screen when I tried to view the configuration options. If you have caching enabled, you will only get a blank screen. (How cool is that?)

One quick solution is to go to Magento->System->Roles , edit the Administrator group and set the permissions to All again.  Searching for a bug  related to this problem , I have found that the solution is allready posted here , so I’ll skip the rest of the details. Be sure NOT TO uncheck all the permissions and then save, or you  will not have to edit the database to restore your permissions  ( How cool is that? A store owner has to pay a programmer to fix the mess if he screws permissions).

If you accidentally found my post while trying to discover how you can create custom admin config options in Magento,  you can download a blank magento module (description here ), which can be used as a template for your admin configuration options.  Be adivsed that it still has the above mentioned problem.

K.

This entry was posted on Friday, October 9th, 2009 at 11:32 am and is filed under dev. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Adding custom admin config options in Magento”

  1. Polprav Says:

    Hello from Russia!
    Can I quote a post in your blog with the link to you?

  2. khelo Says:

    Sure

Leave a Reply