Adding custom fields/ru
From Joomla! Documentation
Tutorial
Managing Custom Fields
Introduction
Introduction
Articles in this Series
- Introduction
- Parameters for all Custom Fields
- Calendar Field
- Checkboxes Field
- Color Field
- Editor Field
- Integer Field
- List Field
- List of Images Field
- Media Field
- Radio Field
- Repeatable Field
- Sql Field
- Text Field
- Textarea Field
- Url Field
- User Field
- Usergroup Field
- How can you group custom fields
- What components are supporting custom fields
- Implementation into your component
- Use custom fields in your overrides
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
- Click Content → Article in the Admin Control Panel
- Click Fields in the menu on the left side
- Click the button New in tool bar on the top
For custom fields in a contact
- Click Components → Contact
- Click Fields in the menu on the left side
- Click the button New in tool bar on the top
For custom fields to show in a contact - form
- Click Components → Contact
- Click Fields in the menu on the left side
- Select from the first select box "Mail"
- 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.
[[File:Articles_Options_test_Administration-
en
.png|700px]]
Also note that a Custom Field will not show up in an article if it is empty...