Updated 1 . Hello World with Joomla Component Builder: Work In Progress 11_26_2018 (markdown)
@@ -3,9 +3,9 @@
|
|||||||
### Introduction
|
### Introduction
|
||||||
+ [01:55](https://youtu.be/1KBBtQUxMTc?t=115) **Hello World with Joomla Component Builder/Creator** _Download and install Joomla Component Builder_.
|
+ [01:55](https://youtu.be/1KBBtQUxMTc?t=115) **Hello World with Joomla Component Builder/Creator** _Download and install Joomla Component Builder_.
|
||||||
|
|
||||||
Welcome to Joomla Component Builder Hello World tutorial It's been asked that we give you some guidelines or quick instruction on how to go from "Zero to Hero". Obviously, there is a Hello World and then there is a Hello World. Let me explain. When we go to Joomla's repository on GitHub they have a Joomla! component here and it has a few files it's been done quite some time ago. Even if you open these files they are not populated with data. All it really does is it shows you the very bare essentials of what's required to make a component work in Joomla! We are going to do much more than this code here which is rather basic. When we are done we will have an application with many lines a structures added so it goes way beyond just a bare-bones framework. We're doing a Hello World component but when we've finished it will be much more than just a wire frame component. Go to https://github.com/vdm-io/Joomla-Component-Builder and download the latest release.
|
Go to Joomla's repository on GitHub. These files are not populated with data. The component shows you the very bare essentials of what's required to make a component work in Joomla! We are going to do much more than this code here. When we are done we will have an application with many lines and we will add structures so it goes way beyond just a wire frame component. Go to https://github.com/vdm-io/Joomla-Component-Builder and download the latest release.
|
||||||
|
|
||||||
After downloading the file, upload it to the root of the website directory you will be installing it in. For this example click File followed by Build and select hello world component and the component will be installed and we can open it. Component Builder is ready to begin. First thing to do is create a field. There are many field types but we need a basic custom text field field named greeting. You will see there are a lot more fields which I'll leave unchanged. I'm just going to remove a few things and the field will work even though these lines are removed. Change this to VARCHAR, save and close. Now there is a new field and next thing to do is in the admin view. This is what links fields to the database. Call it greeting for single record and greetings for a list of records and greetings for a sister name so that we can identify this across the system. I am going to add their greetings and a few generic icons here. Then link that field we made to be the first one actor to title be sort of all searchable And be a link in the first time And first in that tub And give it permissions And save Dressed of the The structure could be left as is And actually We will have it working component With this as an admin View So save and close
|
After downloading the file, upload it to the root of the website directory you will be installing it in. For this example, click File followed by Build and select hello world component and the component will be installed and we can open it. Component Builder is ready to begin. First thing to do is create a field. There are many field types but we need a basic custom text field field named greeting. You will see there are a lot more fields which I'll leave unchanged. I'm just going to remove a few things and the field will work even though these lines are removed. Change this to VARCHAR, save and close. Now there is a new field and next thing to do is in the admin view. This is what links fields to the database. Call it greeting for single record and greetings for a list of records and greetings for a sister name so that we can identify this across the system. I am going to add their greetings and a few generic icons here. Then link that field we made to be the first one actor to title be sort of all searchable And be a link in the first time And first in that tub And give it permissions And save Dressed of the The structure could be left as is And actually We will have it working component With this as an admin View So save and close
|
||||||
|
|
||||||
Now we need to create a component Sleep on you Loads a Add new Joomla component I'm gonna call it the world For most part I'm just Adding It's some dummy data here Can I select an icon Rugby image which Will be shown after installation of the component as well as in the bucket of the comp Ok so we have that said The rest of the features Besides in the settings we need to link the admin view for now Translate greetings One of the main menu want to add submenu autocheck in history Has metadata As EK sou Import export And This is important Add a create site view so on the front end it will already create for us The editing view it will not create a listview Only to edit and create Greetings on the front and we obviously want this to be the first So They're with linked HR admin view and click save Save and close Now we actually have our component set
|
Now we need to create a component Sleep on you Loads a Add new Joomla component I'm gonna call it the world For most part I'm just Adding It's some dummy data here Can I select an icon Rugby image which Will be shown after installation of the component as well as in the bucket of the comp Ok so we have that said The rest of the features Besides in the settings we need to link the admin view for now Translate greetings One of the main menu want to add submenu autocheck in history Has metadata As EK sou Import export And This is important Add a create site view so on the front end it will already create for us The editing view it will not create a listview Only to edit and create Greetings on the front and we obviously want this to be the first So They're with linked HR admin view and click save Save and close Now we actually have our component set
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user