J3.x

J3.x:Adding custom fields

From Joomla! Documentation

Other languages:
Tutorial
Managing Custom Fields
Joomla! 
3.7

Introduction


This is an article on how to create custom fields for Joomla! Version 3.7 or higher.
Ever wanted to show additional attributes on an article, user or contact to your visitor? Through custom fields, you have a seamlessly integrated way to show them on the Frontend.
Custom fields offer 16 different types. The site administrator will be able to create them for articles and contacts. For example when editing an article, the fields show up in a separate tab and can be filled with data. Through field groups, it is possible to group the custom fields into their own tabs. ACL, multi-language, layouts and various other options are available to tailor them to your needs.

How to access

Custom fields will not appear in the components menu. But in the article manager and in the contact manager you will see two new views in the left menu.

For custom fields in an article

  1. Click Content    Article in the Admin Control Panel
  2. Click Fields in the menu on the left side
  3. Click the button New in tool bar on the top

For custom fields in a contact

  1. Click Components    Contact
  2. Click Fields in the menu on the left side
  3. Click the button New in tool bar on the top

For custom fields to show in a contact - form

  1. Click Components    Contact
  2. Click Fields in the menu on the left side
  3. Select from the first select box "Mail"
  4. Click the button New in tool bar on the top

Versioning

Please note the following: If you use versioning for your articles, fields are not stored in different versions.

Can you search custom fields?

Short answer: Yes, you can.

What else is important?

You have to show article options slider in the Backend article edit view for showing the custom field tabs. So activate Show Article Options.

Articles Options test Administration-en.png

Also note that a Custom Field will not show up in an article if it is empty...