Updated 5. Field Types (markdown)

Joseph Geller
2018-11-23 17:16:17 -06:00
parent 0f4f1f4d4f
commit 1d296bdbc9

@@ -7,7 +7,7 @@ A field type is needed if you are building a field. Use of field types can be se
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.
### All Fields Live In Views
The 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 these things are all in place in the application for you. Make use of each of these different types that can be applied to a field. All these fields live inside a view. That's an important concept to realize. All fields live in views. Now, you might not think that a list view has fields and you are partly right. It does more than just display these fields. Let's do a dummy test article here.
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 ICB has placed all these in the component for you. Make use of each of these different types that can be applied to a field. There is an important concept to realize. All fields live in views. Now, you might not think that a list view has fields and you are partly right. It does more than just display these fields. Let's do a dummy test article here to show what we mean.
### Joomla! Articles List and Article Edit Views
After adding some content, save and close the article so we at least have a list item. But that is also a field and if you click on search options all these are fields. So, your list also has certain fields which are only available in the list view. This is also the place where we do most of our features for multiple items where opening one item does what's only required for one item. There is a table which is part of the list that Component Builder sets Up. The bucket list and edit views are built for you, based on the fields and input value mapped to them in your view. We will look at these other concepts more deeply but I need to have you understand from which angle we are coming. We will try and show you that inside of this article you will be creating fields, even put them into different tabs, which will have been rendered in a specific order by the Joomla! component after it's been compiled using Component Builder. That's using Joomla!'s Article Manager as sort of an example.