-
Notifications
You must be signed in to change notification settings - Fork 30
012. Adding categories
Now, we want to add a categorie.
Newly created files
administrator/components/com_foos/sql/updates/mysql/1.12.0.sql
Modified files
administrator/components/com_foos/Extension/FoosComponent.php
administrator/components/com_foos/Model/FoosModel.php
administrator/components/com_foos/access.xml
administrator/components/com_foos/foos.xml
administrator/components/com_foos/forms/foo.xml
administrator/components/com_foos/services/provider.php
administrator/components/com_foos/tmpl/foo/edit.php
administrator/components/com_foos/tmpl/foos/default.php
Click here to see all changes compared to the last chapter
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.
Now we have . Up to now we have no . We are going to work on this in the next chapter.
== Requirements == You need Joomla! 4.x for this tutorial (as of writing currently Joomla! 4.0.0-alpha11-dev)
== File Structure ==
=== Changing administrator/components/com_foos/Model/FoosModel.php ===
The administrator/components/com_foos/Model/FoosModel.php file is ....
==== Completed administrator/components/com_foos/Model/FoosModel.php file ====
The code for the administrator/components/com_foos/Model/FoosModel.php file is as follows: