PluginsDependance: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) (Page create) |
DenisChenu (talk | contribs) |
||
Line 1: | Line 1: | ||
== Dependance == | == Dependance == | ||
=== Usage === | |||
* Activate a plugin if another plugin is activated | * Activate a plugin if another plugin is activated | ||
* Disallow deactivation of a plugin if another plugin depend | * Disallow deactivation of a plugin if another plugin depend | ||
=== Example === | === Example === | ||
* [https://framagit.org/SondagePro-LimeSurvey-plugin/maintenanceMode maintenanceMode] need [https://framagit.org/SondagePro-LimeSurvey-plugin/renderMessage renderMessage] | * [https://framagit.org/SondagePro-LimeSurvey-plugin/maintenanceMode maintenanceMode] need [https://framagit.org/SondagePro-LimeSurvey-plugin/renderMessage renderMessage] | ||
== Order (use ?) == | == Order (use ?) == |
Revision as of 23:08, 15 February 2017
Dependance
Usage
- Activate a plugin if another plugin is activated
- Disallow deactivation of a plugin if another plugin depend
Example
Order (use ?)
- BeforeTokenEmail plugin can send email before another BeforeTokenEmail update body (for example) or send a email
- afterSurveySubmited can have same issue
Example
Need 2 plugin, but
- noMailToExample can be disable if another plugin send the email (and here : beforeTokenEmail need a stop to disallow sending an email 2 times (plugin issue ?)
Mantis
- https://bugs.limesurvey.org/view.php?id=12127 (this topic)