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

014a. Adding Custom Fields in the backend

Astrid edited this page Nov 9, 2019 · 3 revisions

Adding Custom Fields in the backend

In this chapter we will ...

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

t14a_1

t14a_2

t14a_3

Newly created or Modified files

Newly created files

administrator/components/com_foos/Helper/FooHelper.php

Modified files

changelog.xml

foo_update.xml

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

administrator/components/com_foos/access.xml

administrator/components/com_foos/config.xml

administrator/components/com_foos/foos.xml

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

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

https://github.com/joomla/joomla-cms/pull/26540

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

You now know how to integrate custom fields in the back end into your component. In the next chapter, we'll look at how to display the values in the front end. next chapter.

Clone this wiki locally