Is there any way to set a plugin parameter programatically from within a plugin?
I've tried:
$this->params->set('param_name', 'value');
This doesn't work, although many forums suggests it should.
Is there any way to set a plugin parameter programatically from within a plugin?
I've tried:
$this->params->set('param_name', 'value');
This doesn't work, although many forums suggests it should.
Copyright © 2021 Jogjafile Inc.
After the parameter is set you need to parse all parameters into string value and store in
jos_extensions
table.Don't try to use
$params->toString();
as this isJParameters
object. You need to go through it manually.