XF 1.4 How to move up ad_message_below

popowich

Active member
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!
 
You would have to edit the message template and change the location of the template include:
Code:
<xen:include template="ad_message_below" />
 
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.
 
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>
 
Top Bottom