Hi guys,
I've added some additional features to a quiz plugin (which you can find here) and I want to control these features by the game options. So I added all the required fields in the game options form, and also the corresponding PHP-code in the background.
Now, I tick an option by its checkbox and klick "safe"-button which leads me back to the game. But when I'm checking the options again the ticked checkbox is still unticked (which is the default state of this option). So the chosen options is not safed after pressing the safe button.
If I change the corresponding variables in the PHP-code by hand everything works correctly and the changes will be applied to the game (the form entries of course do not change).
I'm suspecting this error is coming from the db/install.xml file, where are all game options are safed. I've added my options also in this file and changed "version.php" to update this file. Is it enough to do it that way or should I reinstall the plugin completely after editing the db/install.xml file?
Is there a way to see the content which is safed in the corresponding xmldb table? So I can check if the options will change entries in this table....
Many thanks in advance!
Best,
Alex