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

XF 1.4 How to move up ad_message_below

popowich

Active member
#1
No matter where I move the template call I can't get it under the post content but above the user/date/edited line.

Is it possible to get these to swap places so the user/date & last edited etc are below ad_message_below?

Thanks!
 

Brogan

XenForo moderator
Staff member
#2
You would have to edit the message template and change the location of the template include:
Code:
<xen:include template="ad_message_below" />
 

Brogan

XenForo moderator
Staff member
#4
To wherever you want it.

Use a browser inspection tool on the page to inspect the HTML and tie it up with the code in the template.
 

popowich

Active member
#5
If anyone looking for the same answer as me this is the section of the style where ad_message_below should be moved that worked for me:

<xen:hook name="message_content" params="{xen:array 'message={$message}'}">
<div class="messageContent">
<article>
<blockquote class="messageText SelectQuoteContainer ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">
<xen:include template="ad_message_body" />
{xen:raw $message.messageHtml}
<div class="messageTextEndMarker">&nbsp;</div>
</blockquote>
</article>
<xen:include template="ad_message_below" />
{xen:raw $messageContentAfterTemplate}
</div>
</xen:hook>