Updated 044 Hello World Component with Joomla Component Builder Creator Extended (markdown)

Amigo 2019-08-13 09:59:54 +02:00
parent 41373b7ba0
commit 1c901d7f3c

@ -112,9 +112,7 @@ Here you can see all the Fieldtypes that I have set up in JCB already. You could
[00:16:14](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m14s)
The way a Fieldtype works is that it helps you setup what we know as the Properties.<<<<<<<<
The property has a Name, it has a Default value, it is either Adjustable or not Adjustable. It's Mandatory or not Mandatory, Translatable. You can give it a little Description, that when you use the Fieldtype you can always come back to this. This information can be gathered from going through the Joomla Core Libraries. [00:16:49](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m49s) Because Fieldtypes are only mapping Joomla's own implementation of Fieldtypes. If we were to open a Fieldtype that's already been created like the Text field, you see that these properties are already there and in place. The Fieldtype is 'text'. The 'name' is 'any text'. When we say that the type is text, then this is not adjustable. [00:17:18](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h17m18s) We leave this unticked, if it is adjustable, we can tick it. It is most certainly Mandatory. That is how you setup Fieldtypes. I'm not going to go into too deep, since there is extra tutorials on how to do Fieldtypes. I just wanted to give you a brief overview.
The way a Fieldtype works is that it helps you set up what is known as the Properties. The property has a Name, it has a Default value, it is either Adjustable or not Adjustable. It is Mandatory or not Mandatory and Translatable. It can be given a Description, that when the Fieldtype is used you can always come back to this. This information can be gathered from going through the Joomla Core Libraries. [00:16:49](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m49s) Because Fieldtypes are only mapping Joomla's own implementation of Fieldtypes. If a Fieldtype is opened that has already been created like the Text field, it may seen that these properties are already there and in place. The Fieldtype is 'text'. The 'name' is 'any text'. When we say that the type is 'text', then this is not adjustable, but if it is adjustable, it can be ticked.[00:17:18](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h17m18s) It is most certainly Mandatory. This has been a brief overview on how to set up Fieldtypes.<<<<
### Creating Fieldstypes