Updated 5. Field Types (markdown)

Joseph Geller
2018-11-23 16:00:16 -06:00
parent ff6b225c49
commit cc038424e5

@@ -1,9 +1,9 @@
If you have a good knowledge of the Joomla! API You will know it can build forms you can use in a component and it's done using an XML file. Joomla! Component Bolder builds the XML file and places it in a location a model, view and controller can access it from using the Joomla! API. JCB builds the fields which you define would use in a view using a view containing fields displayed by the component. These and other terms will be defined as we proceed. Let's start start with field types. If you have a good knowledge of the Joomla! API You will know it can build forms you can use in a component and it's done using an XML file. Joomla! Component Bolder builds the XML file and places it in a location a model, view and controller can access it from using the Joomla! API. JCB builds the fields which you define would use in a view using a view containing fields displayed by the component. These and other terms will be defined as we proceed. Let's start start with field types.
+ [01:05](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m5s) **Field types** _Create Field Types Using basic joomla article to explain field types and their relationship within views_+ [01:57] + [01:05](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m5s) **Field types** _Create Field Types Using basic joomla article to explain field types and their relationship within views_
A field type is needed if you are building a field. Use of field types can be seen when you create a Joomla! article. When you do the first thing you see is called a view. Scroll down a bit and you'll see a URL displaying the view View = article and it's called an article view. A field type is needed if you are building a field. Use of field types can be seen when you create a Joomla! article. When you do the first thing you see is called a view. Scroll down a bit and you'll see a URL displaying the view View = article and it's called an article view.
(https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m57s) **List view** _Difference between list view and edit view. Plural and single_ + [01:57](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m57s) **List view** _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 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.
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 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.