2012-01-26, 13:18
1. Is there any way to enable/disable a setting programmatically?
2. Programmatically, can I find whether a setting is enabled/disabled?
e.g.
how can I find property youtube is enabled/disabled?
for youtube setting above default="System.HasAddon(plugin.video.youtube)" is always returning false.
2. Programmatically, can I find whether a setting is enabled/disabled?
e.g.
PHP Code:
<setting id="youtube" type="bool" enable="System.HasAddon(plugin.video.youtube)" label="31002"/>
how can I find property youtube is enabled/disabled?
for youtube setting above default="System.HasAddon(plugin.video.youtube)" is always returning false.