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 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:
An example of displaying the Note field type (option title and description) in the Joomla 4 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.
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:
An example of displaying the Note field type (option with a warning) in the Joomla 4 admin panel:
The Note field code (warning type) from the image in the Joomla 4 XML document looks like this:
Option 3: Communicationstrong>
An example of displaying the Note field type (option with information) in the Joomla 3 admin panel:
An example of displaying the Note field type (option with information) in the Joomla 4 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:
An example of displaying the Note field type (option with successful notification) in the Joomla 4 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:
An example of displaying the Note field type (variant with an error) in the Joomla 4 admin panel:
The Note field code (error type) from the image in the Joomla XML document looks like this:
This field supports attributes:
- name – system name of the field (field identifier).
- type – the type of the field, in this case «note».
- label – display name of the field.
- description – the displayed description of the field. In Joomla 3 it is displayed as a tooltip when hovering over a field name.
- class – applied CSS field classes.
- heading – the type of header element to be used for the label. Default h4.
- close – can be true or false. If true, then a cross will be enabled in the notification window to close the notification.
For now, that’s all there is to it about the Joomla XML – Note field type. If we receive new information, it will be added to this article.
Do you need help with generating an XML file? Email us at admin@iws.by and we’ll help you.