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

Joseph Geller
2018-11-23 19:49:49 -06:00
parent 71a13cfca4
commit ca9ad03c42

@@ -1,7 +1,7 @@
If you have a good understanding of the Joomla! API you'll know it can build forms that can be used in a component; it's done using an XML file. Joomla! Component Builder builds the XML file and places it in a location a model, view and controller can access using the Joomla! API. JCB builds the fields which you define in a view containing the fields displayed by the component. These and other terms will be defined as we proceed. Let's start start with field types, then see them in action using Joomla! article list views and edit views. If you have a good understanding of the Joomla! API you'll know it can build forms that can be used in a component; it's done using an XML file. Joomla! Component Builder builds the XML file and places it in a location a model, view and controller can access using the Joomla! API. JCB builds the fields which you define in a view containing the fields displayed by the component you are building using JCB. These and other terms will be defined as we proceed. Let's start start with field types, then see them in action using Joomla! article list views and edit views.
+ [01:05](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m5s) **Field Types and Fields** _Create Field Types Using basic joomla article to explain field types and their relationship within views_ + [01:05](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=1m5s) **Field Types and Fields** _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 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 an 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 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. 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.