• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Moving Notices below threads in thread_view

JVCode

Well-known member
#1
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.PNG

I'd like notices to be displayed below the "Create Topic" button at the bottom.​
 
Last edited:

JVCode

Well-known member
#3
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>
 

Brogan

XenForo moderator
Staff member
#4
As notices are displayed globally, you will need to look in the PAGE_CONTAINER template.

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

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.
 

Brogan

XenForo moderator
Staff member
#8
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>
 

JVCode

Well-known member
#9
Damn, didn't realize it would be in create topic, and thread view also! notices are difficult to move and remove!
 
Last edited: