From eefe6d3da2249dc4c400a9e18696af00706a09b8 Mon Sep 17 00:00:00 2001 From: Amigo <49749100+aamigo@users.noreply.github.com> Date: Thu, 31 Oct 2019 06:25:36 +0200 Subject: [PATCH] Updated 074 How to add Joomla Custom Fields (markdown) --- 074-How-to-add-Joomla-Custom-Fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/074-How-to-add-Joomla-Custom-Fields.md b/074-How-to-add-Joomla-Custom-Fields.md index b1cbebc..e89714a 100644 --- a/074-How-to-add-Joomla-Custom-Fields.md +++ b/074-How-to-add-Joomla-Custom-Fields.md @@ -73,7 +73,7 @@ If you forget how to use this or how to place the component, you can go to com_c Let me do that quickly. I'm going to grab these and place them into our component. I've copied them to a notepad. I'm going to move them to my other screen. Go back to JCB and go to my component, the Site View of a component. [00:18:23](https://www.youtube.com/watch?v=n5RBmP0uNCM&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h18m23s) Open Looking, in the component we have a whole lot of things happening. We have a article comment and the title. We want the value [00:18:47](https://www.youtube.com/watch?v=n5RBmP0uNCM&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h18m47s) to echo out after the title. We are going to take that first one, which is the event after the title. I'm going to place it between the header and the diff. [00:19:05](https://www.youtube.com/watch?v=n5RBmP0uNCM&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h19m05s) The content is generated by it there and it's onContentAfterTitle. This is the title and it is going to show over here(see video). Then we have another one onContentBeforeDisplay. I would like to think it needs to go first before anything. I want to put that there onBeforeAnythingDisplays. That's way at the top. [00:19:39](https://www.youtube.com/watch?v=n5RBmP0uNCM&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h19m39s) With contentAfterDisplay I want to put that at the very end below everything. That's quite simple. We can do more, we can wrap it in a diff. We can do all kinds of styles to it. But that's the simplest way. -### Demonstration +### Demonstration - Changing the Display - Before - After - End [00:20:08](https://www.youtube.com/watch?v=n5RBmP0uNCM&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h20m08s)