Updated 041 Upgrade to JCB v2.5.8 and using the new Admin View and Admin Fields (markdown)

Amigo 2019-08-08 11:25:40 +02:00
parent 6ff1b96b68
commit 879dff6cbc

@ -105,8 +105,6 @@ There is one heads up concerning something that is a little different to how thi
### Create New Admin View: Adding - Single Record Name, List Record Name, Short Description, System Name ### Create New Admin View: Adding - Single Record Name, List Record Name, Short Description, System Name
[00:17:35](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h17m35s)<<<<< [00:17:35](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h17m35s)
What has changed? If a new Admin View is created, a Single Record Name, the List Record Name, the Short Description, the System Name are added. That is all that should be added to save the Admin View for the first time. [00:17:51](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h17m51s) The Admin View at this stage, cannot be linked to any fields until it has an ID. At this stage since the Admin field does not have an ID; It is still new, because we have not clicked save even once. No Fields can be linked to it. What needs to be done is to add some Name(test), and save it once. If the has been done; go to Fields and Conditions; and will give a 'Create' option. [00:18:57](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h18m57s) The buttons 'Create' and 'Create admin fields for this admin views' is the same button. Click on any of them to Create Fields. If you Create a field, then give a 'OK' to indicate that everything is saved . Then click on the plus '+'. The first field is opened and you can start to add fields, and tweak them as you would before. [00:19:22](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h19m22s) That is the new Sub Form Fields for Admin Views. That is what this upgrade is all about. This will in future make a transition into Joomla 4 easier.
The thing that has changed is, if you create a new Admin View, you would add the Single Record Name, the List Record Name, the Short Description, the System Name. That's all you need to add [00:17:51](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h17m51s) to save the Admin View for the first time. The Admin View at this stage, cannot be linked to any fields until it has an ID. I might still work on this and try and tune it in a way that when you click the button, and if the Admin View is not saved, it saves it for you. [00:18:15](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h18m15s) I haven't done that yet. At this stage since the admin field doesn't have an ID it's still new, because we haven't clicked save even once. You can't link any Fields to it. What you would naturally do is, add some Name(test) here, then just save it once. Having done that if you go to Fields and Conditions [00:18:57](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h18m57s) it says 'Create'. This button here 'Create' and that one here 'Create admin fields for this admin views' is the same button. You can click on any of them to Create Fields. If you would Create a field, yes I did save everything. You can click on the plus+. There's the first field and you can start adding fields, and tweak them as you would before. [00:19:22](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h19m22s) That's the new Sub Form Fields for Admin Views. That's what this upgrade is all about. I trust that it benefit all of us in the future, and make it more easier for us to transition into Joomla 4.