What I want to do:
After installing my block-plugin, the user can decide if the block is shown on every (invisble) course page. (This can be done and undone by a simple database-entry and automates the steps which are shown here)
What I have tried so far:
- Executing the code in the install.php which works fine but does not give the user a chance to refuse or undo the settings.
- Using the settings.php to store the users' decision (current iteration)
Is there an event which triggers after the settings have been saved? I couldn't find one in the events2-doc.
Or is there an easier way to do what I want to do?