CoolDash – Blank Magento extension for building admin system configuration area

Featured Image

In order to speed things up with building admin sections under System > Configuration area in Magento I wrote a little blank extension. Hopefully its a step or two beyond “Hello world” level. I named the extension “CoolDash”, short from CoolDashboard. Name holds no special meaning, just something I popped out of my head. First thing you might notice when you open config.xmls and system.xml is the attribute naming. I intentionally used names like “somecooldashmodel2”. I found it extremely difficult, error prone and annoying to get around in scenarios where different areas of config files use same names for attributes with different meaning, like “customer”, “catalog” and so on.

Hopefully my “funny” naming scheme in config files will give you a better overview on where everything goes. Below are few screenshots to see the result.

SystemConfAdminArea

Download ActiveCodeline_CoolDash.Blank extension for building “System > Configuration” area of Magento admin interface. Although built on Magento 1.4alpha, should work on Magento 1.3.

Hope it helps.


20 comments

  1. Hello, to make it work with magento 1.4, if you have “access denied error” you must create a seperate ‘adminhtml.xml’ file for ACL node, in the same directory than config.xml and system.xml
    Bye

  2. Hi,
    I have an error saying “Access Denied” when I clicked on the Sample Section label. I’m using magento version 1.4, i tried to logout and log back but i have always the same error.
    Thanks

  3. Do you have a version of this that works on Magento ver. 1.6.0.0?? I have tried it and I keep getting Access denied; even if I log out and back in.

    thanks

  4. Could you explain how to add menu items to the Magento admin’s main navigation? It seems to me this process has changed in version 1.4, as normally you would place a node like … in your module’s config.xml file, but this no longer seems to work in 1.4

  5. Could you explain how to store datas and/or execute such a piece of code by pressing a button. In fact in one of a group, I’d like to generate an xml file when pressing a “generate” button.

  6. Hi,

    This is a amazing. I have to say, I have created a dummy module to use whenever I need to create a new module. But I did not know how to setup a module to be able to view configuration on the admin side. This is great.

    Thanks a Bunch!

  7. If you get “Access Denied” using CoolDash, logout of Magento then log back in and try again.

  8. Hi thank you for the sample.

    I have an error saying “Access Denied” when I clicked on the Sample Section label. I’m using magento version 1.3

    Any ideas guys on how to fix this one? Thanks in advance.

  9. It seems to work good, Thank you for this help!

    Could you explain how to store datas and/or execute such a piece of code by pressing a button. In fact in one of a group, I’d like to generate an csv file when pressing a “generate” button.

  10. And here comes another of your timesavers (: I was just about to start writting a simple module for setting up all JS vars for 1.3 so I’m going to give it a go. Thanks a lot! (again…)

  11. Hey Branko, nice work – thanks for sharing this. I agree that it can be a pain setting up the skeleton modules in Magento, so anything that automates the process slightly is great! It’s also very easy to not bother writing an admin module to interface with the config for a custom module, and instead obting to just hard code default values in your config.xml, so this will make me shift from doing that 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.