Magento Tips & Tricks

Configuration group expanded by default

Most magento extension has its own section in admin configuration. Sometimes you want to have one of configuration groups to be expanded. All you need to do is add expanded parameter to it. It will define whether the group is expanded by default when viewing that particular tab section.

Configuration section / groups defined in app/code/community/[Company]/[Extension]/etc/system.xml. Typical system.xml looks like

You need to add expanded parameter to group_name.
Here is live example from Powerbanners extension.

Example of expanded configuration group

One thought on “Configuration group expanded by default

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.