CoolDash – Blank Magento extension for building admin system configuration area

17 Comments 21st AUG 2009 | Posted by Branko Ajzele in Magento

CoolDash – Blank Magento extension for building admin system configuration area

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.

If you like what you read, please share it.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Yahoo! Bookmarks
  • Reddit
  • Technorati
  • Twitter
  • StumbleUpon
  • LinkedIn
  • Netvibes
  • NewsVine
  • Sphinn
  • Tumblr
  • Posterous

To post code in comments, place your code inside [code] and [/code] tags.

There are 17 comments (Add Yours +)

  • Mike Whitby Says

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

  • 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…)

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

  • Thanks again for another helpful tool.

  • Bryan Houghton II Says

    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.

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

  • Dumbrava Razvan Aurel Says

    Thank you!

  • You’re a lifesaver..

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

  • Hi Damodar,

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

    Hope it helps.

  • 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!

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

  • 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

  • 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

  • Ahmed Arous Says

    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

  • 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

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

Leave a Comment

Please wrap all source codes with [code][/code] tags.
Magento Design and Development | Magento SEO | iPhone Application Development Web Application Development with ZEND | WordPress Ecommerce | WordPress development
Sitemap

Inchoo - webappsolutions | 2009