Exercises
It’s time to apply the knowledge acquired in this chapter and start creating our own custom fields.
Exercise 1 – Create a custom field
In your example Joomla installation, create a custom field group called MyFieldGroup
, tied to Articles. Then, create a new custom field for Articles within MyFieldGroup
. The custom field should be called MyCustomText
and should be a text field that is always visible after the content of the article.
Create an additional custom field that belongs to the same field group; the field should be a Text Area field. Call it MyTextArea
, leaving all the options at their default values. Finally, create another custom field, in MyFieldGroup
, called Picture
, selecting the Media field type.
Then, open the article created during the exercises of the previous chapters, check the new tab called MyFieldGroup, and populate your additional fields with your desired values. Once complete, click on Save and then Preview to check the appearance...