Updated 5. Field Types: 11 23 2018 Work in progress (markdown)

Joseph Geller
2018-11-23 19:45:51 -06:00
parent ed0090aea5
commit 71a13cfca4

@@ -4,7 +4,7 @@ If you have a good understanding of the Joomla! API you'll know it can build for
A field type is needed if you are building a field. Use of views, field types, and fields can be seen when you create a Joomla! article. When you do the first thing you see is the view. Scroll down and you'll see a URL displaying View = article indicating this is the article view. A field type is needed if you are building a field. Use of views, field types, and fields can be seen when you create a Joomla! article. When you do the first thing you see is the view. Scroll down and you'll see a URL displaying View = article indicating this is the article view.
+ [01:57](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m57s) **List and Edit Views** _Difference between list view and edit view. Plural and single_ + [01:57](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m57s) **List and Edit Views** _Difference between list view and edit view. Plural and single_
If you close this article view you'll see a list of articles created in the web site. You won't see any articles here if it's a blank website. The list of articles is also called a view. If you click on an row in the list you will see the edit or single view. Your components will usually have these two views in the admin area to list and edit your different data sets. Let's take a look at the views and the fields they display. If you close this article view you'll see a list of articles created in the web site. You won't see any articles here if it's a blank website. The list of articles is also called a view. If you click on a row in the list you will see the edit or single view. Your components will usually have these two views in the admin area to list and edit your different data sets. Let's take a look at the views and the fields they display.
### All Fields Live In Views ### All Fields Live In Views
The Joonla! article title is a text field type; the alias is also a text field type. The editor block is a text editor field. There are others like list, radio, tag, text, date, user, text-area, label. You will see JCB has placed all these in the component for you. You can make use of each of these different types by applying one to a field. All fields live in views which is an important concept to understand. Now, you might not think that a list view has fields and you are partly right. It does do more than just display these fields. Let's create a test article here to show what we mean. The Joonla! article title is a text field type; the alias is also a text field type. The editor block is a text editor field. There are others like list, radio, tag, text, date, user, text-area, label. You will see JCB has placed all these in the component for you. You can make use of each of these different types by applying one to a field. All fields live in views which is an important concept to understand. Now, you might not think that a list view has fields and you are partly right. It does do more than just display these fields. Let's create a test article here to show what we mean.