How To Add System Configuration Fields

We are going to add new configuration input.

Creating new system configuration inputs is very convenient in magento, since there is no need to do anything with database.

Create system.xml in your module etc/ directory.

        <general translate="label">
                    <label>Example options</label>
                        <some_field translate="label">
                            <label>Some Field</label>


You can get the value of your configuration field by calling this function in code.

//general - this is section
//example - this is group
// some_field - this is field
/*Follow the system.xml to know where they come from*/


Lukas Stranovsky
I am the guy who made this. Sorry for typos.