xf_phantom
Well-known member
ATM we have in the page_container template
and in home
Could you concider to make this more dynamic like the notice system in the frontend?
Then we could use this for more tasks (e.g. important notices for admins, addon upgrade notices,etc...) without the need to edit the templates and controllers, instead we would just need to insert it into the "notice array"
Code:
<xen:if is="{$showUpgradePendingNotice}">
<p class="importantMessage">
{xen:phrase upgrade_is_pending_forum_only_accessible_in_debug} <br />
<a href="install/">{xen:phrase complete_upgrade}</a>
</p>
</xen:if>
and in home
Code:
<xen:if is="{$outdatedTemplates}">
<p class="importantMessage">
<a href="{xen:adminlink templates/outdated}">{xen:phrase there_templates_that_may_be_outdated_click_to_review}</a>
</p>
</xen:if>
<xen:if is="{$serverErrorLogs}">
<p class="importantMessage">
<a href="{xen:adminlink logs/server-error}">{xen:phrase server_errors_have_been_logged}</a>
</p>
</xen:if>
<xen:if is="{$manualDeferredTotal}">
<p class="importantMessage">
<a href="{xen:adminlink tools/run-deferred}">{xen:phrase manual_rebuild_processes_have_been_stopped_before_completion}</a>
</p>
</xen:if>
Could you concider to make this more dynamic like the notice system in the frontend?
Then we could use this for more tasks (e.g. important notices for admins, addon upgrade notices,etc...) without the need to edit the templates and controllers, instead we would just need to insert it into the "notice array"
Last edited:
Upvote
4