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.

18
Top

Enjoyed this post?

Subscribe to our RSS Feed, Follow us on Twitter and spread it to your friends!

Author

CTO / Magento Certified Developer Plus @Inchoo. Father, husband!

Other posts from this author

Discussion 18 Comments

Add Comment
  1. Mike Whitby

    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 :)

  2. 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…)

  3. 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.

  4. Thanks again for another helpful tool.

  5. Bryan Houghton II

    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.

  6. chris le

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

  7. Dumbrava Razvan Aurel

    Thank you!

  8. K

    You’re a lifesaver..

  9. Hi everyone,
    I know you all are quite busy but being regular reader here just dared to ask for small help. Do you know how can i add new field in image gallery section? See the screenshot in magento forum at: http://www.magentocommerce.com/boards/viewthread/57761/

    Due to this whole project is on hold :(

    Thanks in advance.

  10. Hi Damodar,

    Please see my latest article (wrote it last night) http://ajzele.net/color-switcher-improved-for-magento-part-1.
    It adds extra field to Image tab as you pointed out.

    Hope it helps.

  11. Cool Moov

    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!

  12. mika

    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.

  13. Nick

    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

  14. munyah

    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

  15. Ahmed Arous

    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

  16. 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

  17. Sam

    Guys, any idea how to get the new 1.4 TinyMCE editor to show on text areas in custom modules like this?

  18. I got it work on magento 1.6.1 but don’t know why the layout display right but don’t see the main content. Any idea why?

Add Your Comment

Please wrap all source codes with [code][/code] tags.
Top