1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Moving permalink

Discussion in 'Template Modifications [Archive]' started by Shelley, Jan 30, 2011.

  1. Shelley

    Shelley Well-Known Member

    This tip will move the post number and place it after the "reply" rather than before the "like" button which I feel feels and looks more organised placed at the end (far right).

    Please keep this post in here. thanks.

    First go into your post template and find the following code.

    Code:
    <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" class="item muted postNumber hashPermalink" title="{xen:phrase permalink}">#{xen:calc '{$post.position} + 1'}</a>

    And then place it after the following.

    Code:
    <a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
    The results are the following for those that feel it looks better and want to move theirs to the far right. (Screenshot Below)

    postnumber.png
     
  2. cobra1162

    cobra1162 Active Member

  3. Allan

    Allan Well-Known Member

    Yes good idea, thank Shelley ;)

    Include in the next release to XenForo perhaps ..
     
  4. Shelley

    Shelley Well-Known Member

    I dunno but this thread should not have been moved in here when I specifically wrote that it remained in tips and tricks as it's a insignificant change.
     
  5. Kier

    Kier XenForo Developer Staff Member

    It's a modification to a template isn't it? It seems to me like this is precisely the correct forum for this thread.
     
  6. DSF

    DSF Well-Known Member

    Many thanks, Shelley.
    It's a simple, but nice idea!
     
  7. ddmmh

    ddmmh Well-Known Member

    nice mod shelly.

    Just curious, what template are you using? looks really nice
     

Share This Page