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

021. Adding Checkout

Astrid edited this page Nov 9, 2019 · 2 revisions

Adding Checkout

In this chapter we will ...

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

as_j4_t_21_1

Newly created or Modified files

Newly created files

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

Modified files

changelog.xml

foo_update.xml

administrator/components/com_foos/Model/FoosModel.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/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.

If two users edit an item at the same time, it could lead to overlapping and thus data loss. Therefore, we block the entry as long as it is being edited by a user. The sign is the lock.

Concluding Remark

In this chapter, we have made sure that the data is processed more securely. Next, we'll look at how we can edit a lot of data in one fell swoop.

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

Overview of all files