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

XF 1.3 Move post date/time above post

Discussion in 'Styling and Customization Questions' started by sinucello, Sep 5, 2014.

  1. sinucello

    sinucello Well-Known Member

    one thing that keeps crossing my mind when comparing my new xenForo to the old vB is the post date under the post. In vB it was above the posting and to me it seems to be easier to find there and to process the visual info.

    Today I found an interesting styling option from @Steve F here:

    It hides the public/private controls and shows them only when you mouse-over the post. This is good but it also hides the date and this is the only info I`d like to have displayed permanently.

    What do you think about this? Any other ideas where to move the postdate?

    thank you - all the best,
  2. Sunka

    Sunka Well-Known Member

    I resolved in this way...

    Open message template

    <xen:if is="{$message.isIgnored}">
                                <li>{xen:phrase you_are_ignoring_content_by_this_member} <a href="javascript:" class="JsOnly DisplayIgnoredContent">{xen:phrase show_ignored_content}</a></li>
    After that insert (change colour if you want):

    <xen:comment>Time stamps</xen:comment>
            <p style="color:#434E54" font><i><xen:datetime time="$post.post_date" /></i></p>
            <xen:comment>END Time stamps</xen:comment>
    AtoZ likes this.

Share This Page