-
Notifications
You must be signed in to change notification settings - Fork 30
014a. Adding Custom Fields in the backend
Now, we want to create a view on the front end.
Newly created files
administrator/components/com_foos/Helper/FooHelper.php
Modified files
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
Click here to see all changes compared to the last chapter.
https://github.com/joomla/joomla-cms/pull/26540
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.
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.