Loading...
 

History: Performance Settings Warning Module

Preview of version: 4 (current)

Add an admins only warning module when the usual performance settings are not optimised

YAML
objects: - type: module data: name: admin_performance_warning position: top order: 1 params: nobox: y style: position:fixed;top:0;z-index:1000; custom: | {if $tiki_p_admin eq 'y'} {* warn admins if the performance prefs are not enabled *} {if $prefs.tiki_minify_javascript neq 'y' or $prefs.tiki_minify_css neq 'y' or $prefs.smarty_compilation neq 'never'} {remarksbox type='errors' title="{tr}Admin warning{/tr}" close="n"} {tr}Performance settings not optimised, see <a class="alert-link" href="tiki-admin.php?page=performance">the control panel</a> to correct this{/tr} {/remarksbox} {/if} {/if}


History

Advanced
Information Version
Wed 05 of Feb, 2020 11:19 GMT-0000 Jonny Bradley params don't seem to work properly for custom modules... FIXME 4
Wed 05 of Feb, 2020 11:15 GMT-0000 Jonny Bradley params? 3
Wed 05 of Feb, 2020 11:13 GMT-0000 Jonny Bradley indenting custom smarty 2
Wed 05 of Feb, 2020 11:11 GMT-0000 Jonny Bradley new one 1