I'm going through the Joomla 3 component editing. Now I'm kind of stuck with a problem: When I install my component, it doesn't work until I saved my component's configuration.
In my case, my model's getting items, checking for their params, and if there are none, it should pass the global values in there. But before saving my components configuration, it doesn't take it's values, as they haven't been saved in the database.
- How to accomplish that the default values are saved to the db by installation? (Component Config->Default Params)
- Is this a proper way to do it in the model?
(Changing the params in the model for the view..)