I have a problem here and just cant solve it :-/
I am developing an Joomla component with backend.
In the backend I set a parameter, the dashboardId
, bu
There's a more simple way. First import Joomla Component Helper:
jimport('joomla.application.component.helper'); // not required in Joomla 3.x
And then retrieve any attribute you want like this:
$params = JComponentHelper::getParams('com_dashboard');
$dashboardID = $params->get('dashboardID');
Greetings.