Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

015a. Adding Associations I

Astrid edited this page Nov 9, 2019 · 2 revisions

Adding Associations I

In this chapter we will ...

Now, we want to create a view on the front end.

t15a_1

t15a_2

t15a_3

t15a_4

t15a_5

t15a_6

Newly created or Modified files

Newly created files

administrator/components/com_foos/Helper/AssociationsHelper.php

administrator/components/com_foos/sql/updates/mysql/1.15.0.sql

administrator/components/com_foos/tmpl/foo/edit_associations.php

Modified files

changelog.xml

foo_update.xml

administrator/components/com_foos/Extension/FoosComponent.php

administrator/components/com_foos/Model/FoosModel.php

administrator/components/com_foos/Service/HTML/AdministratorService.php

administrator/components/com_foos/View/Foos/HtmlView.php

administrator/components/com_foos/foos.xml

administrator/components/com_foos/forms/foo.xml

administrator/components/com_foos/language/en-GB/en-GB.com_foos.ini

administrator/components/com_foos/services/provider.php

administrator/components/com_foos/tmpl/foo/edit.php

administrator/components/com_foos/tmpl/foos/default.php

All changes at a glance

Click here to see all changes compared to the last chapter.

More detailed explanations

File Structure

Example in Joomla 4

Side Note

Test your component

Now you can zip all files and install them via Joomla Extension Manager. After that you can see a link to your component in the left side menu. Clicking on this link will open the basic backend view.

Concluding Remark

Now we have . Up to now we have no . We are going to work on this in the next chapter.

Overview of all files