I am having an issue with the Access component parameters from inside own component. I have tried the code listed in the first answer, but it did not work.
Below is an image of the back end config field, that I would like to access in my front end views.
If anyone knows the right way to access this I could use a pointer :)
And what I entered in my front end file:
// Import `ComponentHelper` class. use Joomla\CMS\Component\ComponentHelper; // Get all params of a specific component. $params = ComponentHelper::getParams('com_sljooma'); // To get the value of the param. $token_salt = $params->get('security_token');
echo $token_salt, nothing is being returned. I'm not sure what I am missing.