XF 1.3 Moving Notices below threads in thread_view

JVCode

Well-known member
What code needs to be shifted? I've tried with no luck, does anyone know ?

Edit: it's forum_view I need to edit.

Capture.webp

I'd like notices to be displayed below the "Create Topic" button at the bottom.​
 
Last edited:
Can't seem to get notices to move... :\ I "think" I've found the code to move, but it won't shift.

Would this be the correct code?

<xen:if is="{$showPostedNotice}">
<div class="importantMessage">{xen:phrase message_submitted_displayed_pending_approval}</div>
</xen:if>
 
As notices are displayed globally, you will need to look in the PAGE_CONTAINER template.

upload_2015-7-13_10-57-0.webp

If you only want to change the position on the thread_view template, then you will need to wrap that in a conditional statement to exclude it from the thread_view template and add another include further down the page using another conditional statement to only include it in the thread_view template.
 
To hide the default include on the thread_view template, edit the original include line to this:
Code:
<xen:if is="{$contentTemplate} != 'thread_view'">
<xen:include template="notices" />
</xen:if>


Then add new code in the PAGE_CONTAINER template further down where you want it to show on the thread_view template, using this:
Code:
<xen:if is="{$contentTemplate} == 'thread_view'">
<xen:include template="notices" />
</xen:if>
 
Top Bottom