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

Move timestamp to top

Discussion in 'Styling and Customization Questions' started by oldzy, Apr 12, 2013.

  1. oldzy

    oldzy Active Member

    Is there a fairly easy way (via simple template mod or add-on) to move post timestamps to the top left of posts? I prefer them there as opposed to having to scroll down a huge post just to see when the post was made.
     
  2. EQnoble

    EQnoble Well-Known Member

    I am not sure how well this holds up with different styles but playing around this seemed to work...

    Edit Template: post

    find:
    Code:
                    <span class="item muted">
                        <xen:username user="$post" class="author" />,
                        <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xen:phrase permalink}" class="datePermalink"><xen:datetime time="$post.post_date" /></a>
                    </span>

    copy that (also remove it or comment it out from that template) and paste it in template: message
    find :
    Code:
    <div class="messageInfo primaryContent">
    and paste it in like this...
    Code:
        <div class="messageInfo primaryContent">
                    <span class="item muted">
                        <xen:username user="$post" class="author" />,
                        <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xen:phrase permalink}" class="datePermalink"><xen:datetime time="$post.post_date" /></a>
                    </span>
     
  3. oldzy

    oldzy Active Member

    Great, thanks.
     

Share This Page