InMotion Hosting Support Center
This is archived and longer maintained. Any information contained in this article may be out of date.

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

When working with Joomla 2.5 plugins, you may have noticed that some of the parameters are divided into separate parameter types, such as Basic Options and Advanced Options. If you're writing your own Joomla 2.5 plugin, you can do this separation by adding parameters to different fieldsets.

Fieldset Names

Here is our helloworld's xml file thus far:

<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="content">
        <name>Hello World</name>
        <author>Brad Markle</author>
        <creationDate>June 18th, 2012</creationDate>
        <copyright>InMotion Hosting</copyright>
        <license>GNU General Public License</license>
        <description>This is my very first plugin! Simple Hello World Plugin that prints "Hello World" at the beginning of every article.</description>
                <filename plugin="helloworld">helloworld.php</filename>
                <fields name="params">
                        <fieldset name="basic">
                                <field name="alt-text"  type="text" default="" label="Alternative Text" description="Besides Hello World, you can specify other text here to print to the screen instead." />
                        <fieldset name="more">
                                <field name="color" type="radio" default="black" description="Which color should the message be displayed in?" label="Color">
                                        <option value="black">black</option>
                                        <option value="red">red</option>
                                        <option value="blue">blue</option>
                                <field name="font-size" type="list" default="12" description="What size font should the message use?" label="Font size">
                                        <option value="8">8px</option>
                                        <option value="12">12px</option>
                                        <option value="16">16px</option>

As you can see in the code we have two fieldsets, one named basic and one named more. You can see in the screenshot below how this separates the parameters:


Fieldset Language definitions

You may have noticed from the screenshot that even though we set the second fieldset with a name of "more", it shows as COM_PLUGINS_more_FIELDSET_LABEL. This is because by default there are only a certain set of names that you can use for fieldsets. These names are defined in the following file:


When looking at en-GB.com_plugins.ini, you can see the following fieldset names are defined:


If you want to label either of your fieldsets as "Basic Options" or "Advanced Options", you must set the fieldset name to either basic or advanced.

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!