-
Notifications
You must be signed in to change notification settings - Fork 30
009. Adding configuration
Now, we want to add settings in a configuration.
Newly created files
Modified files
administrator/components/com_foos/Model/FoosModel.php
administrator/components/com_foos/View/Foos/HtmlView.php
administrator/components/com_foos/config.xml
administrator/components/com_foos/foos.xml
administrator/components/com_foos/forms/foo.xml
administrator/components/com_foos/tmpl/foo/edit.php
administrator/components/com_foos/tmpl/foos/default.php
https://github.com/astridx/boilerplate/compare/t8...t9
Now you can zip all files and install them via Joomla Extension Manager.
Now you can globally use settings for your extension. You will find a button in the top right corner of the back end where you can open the options.
The options are the configuration that you can use for all the items in your extension.
You can now use your component very flexibly with the help of configuration options.
What is next? Maybe you like to offer some settings only to a limited number of users. How to do this is the topic of the next chapter.