Automatically validate the forum configuration
With the last few versions, the mm_forum has become increasingly difficult to configure. Above all, the quantity of static templates is very confusing.
The mm_forum frontend should automatically validate whether all configuration option were set correctly. This should include the following checks:
- Are all required static templates included (mm_forum AND [mm_forum prototype OR mm_forum jquery])?
- Are the required static templates included in right order (js templates before main template)?
- Are all page-ids and other required configuration options set correctly?
If something is not configured correctly, an appropriate error message should be displayed.
In order to avoid both unnecessary checks and confusing the end user, this check should be only done if e.g. the displayErrors configuration property is set.
#1 Updated by Hauke Hain almost 9 years ago
The most confusing part is, that the static jQuery template must be included before the regular mm_forum template, because it sets plugin.tx_mmforum and this value is copied from the static mm_forum template to different plugins like plugin.tx_mmforum_pi1.