Skip to main content
edited tags
Link
Lodder
  • 26.9k
  • 3
  • 48
  • 94
Source Link
johanpw
  • 13.3k
  • 6
  • 40
  • 76

Module parameters in main tab

When creating Joomla modules, I use something like this in my XML manifest file to add parameters:

<config>
        <fields name="params">
            <fieldset name="options" label="My Parameters">
                <field
                    name="my_field"
                    type="text"
                    label="Example label"
                    description="Example description"
                    default="Default value">
                </field>
            </fieldset>
        </fields>
</config>

This creates a new tab called "My Parameters" in the module editor, where my fields are displayed.

But how can I add fields directly to the main tab ("Module"-tab)?