Updated 5. Field Types (markdown)
@@ -13,13 +13,15 @@ After adding some content, save and close the article so we at least have a list
|
|||||||
+ [05:45](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=5m45s) **Compile error** _Remember to select correct options that suit your build._
|
+ [05:45](https://youtu.be/OhLzvThDXls?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=5m45s) **Compile error** _Remember to select correct options that suit your build._
|
||||||
We could just as well go into Component Builder Since it has the demo application. See a detailed explanation of the demo component and building a local developer environment to run it. After selecting the demo Compile, it displays a warning because we haven't set some options in the global settings. It doesn't mean that there's been an error in the compiling. It just means it couldn't move the file to the git repository. If we deselect some compile options and start again it doesn't give you the same warning. Click install and compiled component gets installed Into this Joomla site. It doesn't have any images because that we don't ship the images with the components. It's easy to use your own.
|
We could just as well go into Component Builder Since it has the demo application. See a detailed explanation of the demo component and building a local developer environment to run it. After selecting the demo Compile, it displays a warning because we haven't set some options in the global settings. It doesn't mean that there's been an error in the compiling. It just means it couldn't move the file to the git repository. If we deselect some compile options and start again it doesn't give you the same warning. Click install and compiled component gets installed Into this Joomla site. It doesn't have any images because that we don't ship the images with the components. It's easy to use your own.
|
||||||
|
|
||||||
If you click on add a Look It will open the edit and it keeps you on Looks. It also opens a list view of where the Looks will be displayed. We added an import feature with your normal to Miller Components don't have. We will explain that later. But if it's new you see that we have a text to add to your radio button. If I add something to the text field it opens and alias field is also a text field. We have a repeatable field and we can add information to this. And that is sort of Look at The fears that is in the demo component
|
If you click on add a Look It will open the edit and it keeps you on the Look. It also opens a list view where the list of Looks will be displayed. We added an import feature which your normal Joomla! components don't have. We will explain that later. If it's new you can add text to your radio button. If I add something to the text field it opens an alias which is also a text field. We also have a repeatable field and we can add information to it. That is a look at the features in the demo component. The appendix has a detailed description of the demo component along with step by step instructions on building a local development environment to run it on.
|
||||||
|
|
||||||
These are all fields mapped into the component through Joomla! as infrastructure. If we go to Admin views there is Loop Open lock It has in it Those Fields we just looked at Right Is the name There is the earliest acronym all this information We just looked at And They are all mapped into the view Through the field at button here Reason why these two are Why you not adding in through this area is because this simply is to edit Existing Feels Instead of adding them So if you were to open a admin view you can edit them from here and it's maybe easier to get to the Today's Fields especially of God If you Have many components already You'll have many Fields and this is a way to Sort of just look at the fields related to this components Vue Ok so If you were to add more Fields you would open this box and this is where you'll be adding Fields I see we are missing One Possibly I need to Ensure that it's with the export and it's been I'll look at that Ok Now let's step back 2 Fuel types Because that's really where it all starts We've already at it All the field types that I think you would need
|
Now let's look at how fields get into the component and use the Joomla! infrastructure. If we go to Admin views and select Look Open look you'll find the fields we just looked at. The name is used to map the field into the view using the field here. Reason why you cannot add using this area is because this is to edit existing fields. Instead of adding them. So, if you were to open a admin view you can edit them from here especially if you Have many components and many fields. This is a way to Sort of just look at the fields related to this components. If you were to add more Fields you would open this box and this is where you'll be adding them. Let's get back to field types because that's really where it all starts. We've already added all the field types to JCB that I think you will need.
|
||||||
|
|
||||||
The field types are Basically Map into the libraries inside of Joomla Joomla has many field types And for each field type which you build You need to sit Set certain values in an XML document These values Our free sample of use checkbox Set Up in Properties So You have these Be certain changing properties that you can adjust for it's Field So this is This is only the properties for The the checkbox field Now you might wonder if you need to set this and most of the time you would never need to do that unless you become You would want to add more field types which we haven't covered Or if you want to extend the existing field types But for the most part you would not probably need to You know Tinker with this I am simply trying to explain to you where Fuel type Comes from and Amazing Scalability that exists
|
The field types are mapped into the libraries inside of Joomla! Joomla! has many field types and for each field type which you build you need to sit set certain values in an XML document. These values in our free samples use a checkbox Set Up in Properties. So, you have to be certain when changing properties that you adjust it's Field. This is applies only to properties for the checkbox field. Now you might wonder if you need to set this and most of the time you would never need to do that. An exception is adding more field types which we haven't covered, or if you want to extend the existing field types. For the most part you would not should not tinker with this I am simply trying to explain to you where the field type Comes from and the amazing scale produced from its use.
|
||||||
|
|
||||||
You see with most other component Builders you need to wait for the developer to add a new field type Where is this one you can add your own field type which simply needs to map to Djuma Lodge Library And the way that they have their field type set Now there are certain few types like repeatable field which is quite tricky and Needs special attention even in the code of the compiler But the majority of fuel types are very straight forward and simple to implement and we have implemented Tutos already We have not implemented all the attributes that can be targeted though And those would be the ones that you might need to come and add if you want to use them for example I added this show on Auction White recently to all field types which I found Because this is a way of showing and hiding Fields based on other Fields values And although we have a very excellent Application replace in component builder to take control of those Features Showing and hiding fields This is an added feature which you might self actually has and if we can and it component That we are developing if we can use show on instead of the component Builders version I would obviously suggest with me do that And none the less I would still explain much more on this topic as we continue So just Briefly let me start here at the top
|
With most other Component Builders you need to wait for the developer to add a new field type. With Component Builder you can add your own field type which simply needs to map to the Joomla! library. Joomla! has their field type set to certain types now such as a repeatable field which is quite tricky and needs special attention even in the code of the compiler. But the majority of field types are very straight forward and simple to implement and we have created tutorials to help you with the learning process.
|
||||||
|
|
||||||
|
We have not implemented all the attributes that can be targeted though. You might need to come and add if you want to use them for example I added this show on Action While recently to all field types which I found because this is a way of showing and hiding Fields based on other fields values and an application replace in component builder to take control of the features to show and hide fields this is an added feature which you might self actually has and if we can and it component That we are developing if we can use show on instead of the component Builders version I would obviously suggest with me do that And none the less I would still explain much more on this topic as we continue So just Briefly let me start here at the top
|
||||||
|
|
||||||
You have name which is called type And a value for checkbox And it Must be set to not adjustable because that is the way to Miller expected If you don't understand any of this information that I'm showing you here Then a place to go to Is this your l Let me open that for you It's called the form fields You see a whole list of form Fields and these are the same for all Fields you just saw In our application If I was to take Checkbox Up Your list checkbox Checkboxes Ox Ok if I was open that you'd see that they give you a list of those Fields type Name and I tell you what is mandatory And what is optional And basically we are just mapping those Data Into this 4 here And if we wanna add another attribute is click on the + and it creates a new field and we add the name at The value sweet peace which is in correspondence And some information This is really for yourself this information block here We put information there when later when you use this field type you are reminded what this specific at Rip And I I basically took this information Why Copying it right here from To my last website and placed it in there And where I felt there might be more said I added some customs text to it And what these values will do is it'll create an XML string like that In your form Which Joomla then uses to build those forms So Basically we first setup a fuel Type by Telling you Which input Values would be able to use for the specific field type which is the status Checkboxes And then we save this And then later you can reuse this fuel type when you start creating fields So let me just close this check box And go to text field And you'll see that you're is a List of the fields That used text field as its type Now you can open one of these fields And you're the bottom you see very something very similar if I was to go back here And go to text field Humorous website
|
You have name which is called type And a value for checkbox And it Must be set to not adjustable because that is the way to Miller expected If you don't understand any of this information that I'm showing you here Then a place to go to Is this your l Let me open that for you It's called the form fields You see a whole list of form Fields and these are the same for all Fields you just saw In our application If I was to take Checkbox Up Your list checkbox Checkboxes Ox Ok if I was open that you'd see that they give you a list of those Fields type Name and I tell you what is mandatory And what is optional And basically we are just mapping those Data Into this 4 here And if we wanna add another attribute is click on the + and it creates a new field and we add the name at The value sweet peace which is in correspondence And some information This is really for yourself this information block here We put information there when later when you use this field type you are reminded what this specific at Rip And I I basically took this information Why Copying it right here from To my last website and placed it in there And where I felt there might be more said I added some customs text to it And what these values will do is it'll create an XML string like that In your form Which Joomla then uses to build those forms So Basically we first setup a fuel Type by Telling you Which input Values would be able to use for the specific field type which is the status Checkboxes And then we save this And then later you can reuse this fuel type when you start creating fields So let me just close this check box And go to text field And you'll see that you're is a List of the fields That used text field as its type Now you can open one of these fields And you're the bottom you see very something very similar if I was to go back here And go to text field Humorous website
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user