Joomla XML field type – Note works in Joomla versions: 3.1 and higher.
Standard field type Joomla XML – Note allows you to display titles, descriptions, or warning boxes. With the help of headers in the form, you can clean up the order.
This field supports attributes:
- name - system name of the field (field identifier).
- type - field type, in this case «note».
- label - the displayed field name.
- description - displayed field description. In Joomla 3 it is displayed as a tooltip when hovering over the field name.
- class - CSS field classes applied.
- heading - the type of header element to be used for the label. The default is h4.
- close - can be true or false. If true, a cross will be enabled in the notification window to close the notification.
This type of field has several display options, below we will consider each.
Option 1: Title and Description
An example of displaying the Note field type (option title and description) in the Joomla 3 admin panel:
Example of Note field type display (title and description option) in Joomla 4 and Joomla 5 admin panel:
The Note field code (title type and description) from the image in the XML document looks like this:
Option 2: Warning
This option uses slightly different code in Joomla 3 and Joomla 4 with Joomla 5.
An example of displaying the Note field type (option with a warning) in the Joomla 3 admin panel:
The Note field code (warning type) from the image in the Joomla 3 XML document looks like this:
Example of Note field type display (warning option) in Joomla 4 and Joomla 5 admin panel:
The code for the Note field (warning type) from an image in a Joomla 4 and Joomla 5 XML document looks like this:
Option 3: Informing
An example of displaying the Note field type (option with information) in the Joomla 3 admin panel:
Example of displaying Note field type (option with informing) in Joomla 4 and Joomla 5 admin panel:
The Note field code (type informing) from the image in the Joomla XML document looks like this:
Option 4: Successful notification
An example of displaying the Note field type (option with successful notification) in the Joomla 3 admin panel:
Example of Note field type display (successful notification option) in Joomla 4 and Joomla 5 admin panel:
The Note field code (type with successful notification) from the image in the Joomla XML document looks like this:
Option 5: Error
An example of displaying the Note field type (variant with an error) in the Joomla 3 admin panel:
Example of Note field type display (error variant) in Joomla 4 and Joomla 5 admin panel:
The Note field code (error type) from the image in the Joomla XML document looks like this:
Do you need help with generating an XML file? Email us at admin@iws.by and we'll help you.