You have an XML file of a component using paramater e.g in
components\com_fileuploader\views\fileuploader\tmpl\default.xml:
when you load your model and you want to get the parameters from the XML doing:
$app = JFactory::getApplication('site');
$params = $app->getParams('com_fileuploader');
$rubrik = $params->get('rubrik'); // => Retruns null
$rubrik has the parameter specified in the XML of the component
$rubrik is empty
| Priority | Critical | ⇒ | Medium |
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-02 17:47:36 |
| Closed_By | ⇒ | Bakual |
Probably you have some parameters with
-- same name in component configuration and in menu item configuration
and the above has caused some confusion
if the parameters name are the same then yes
... you will not get a parameter value ...
The file
components/com_fileuploader/views/fileuploader/tmpl/default.xmlare parameters of a menu item
they are not parameters of the component
Parameters of componet are
administrator/components/com_fileuploader/config.xmlYou can ask more in forums, https://forum.joomla.org