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

XF 1.2 Move Report Link

Discussion in 'Styling and Customization Questions' started by Frigeri, Aug 26, 2013.

  1. Frigeri

    Frigeri Member


    How can I move the report link to the side of the message?

    Can I just copy and paste this code?

    <xen:if is="{$post.canReport}">
    <a href="{xen:link posts/report, $post}" class="OverlayTrigger item control report" data-cacheOverlay="false"><span></span>{xen:phrase report}</a>
    Example below

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to edit the template(s) and move the code as required.
  3. Frigeri

    Frigeri Member

    I understand, Brogan, thanks. Can I copy and paste the code above? Or will it break any functionality?
  4. Jeremy

    Jeremy Well-Known Member

    Copy & Paste should work, but you will want to test it.
  5. Frigeri

    Frigeri Member

    Thanks Jeremy. I actually created a bar inside the message layout and then put the controls there.

    The problem is that it's not very responsive (images below). Do you have any tip on how to make it better? Here's the code:

        <div class="message_header">
                {xen:raw $messageAfterTemplate}
        border-bottom:1px solid #c9daeb;
        margin: -10px -10px 10px -10px;
    MetaControls css:
    .message .messageMeta {
        font-size: 11px;
        padding: 9px 8px 7px;
        overflow: hidden;

    Attached Files:

Share This Page