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

As Designed Permalinks are not permanent

Discussion in 'Resolved Bug Reports' started by Pepelac, Oct 9, 2011.

  1. Pepelac

    Pepelac Well-Known Member

    Sorry, but for me it's really a bug. Why you call those links permalinks, if they aren't permanent?

    I think, that you should change those urls to posts/post_id

    Thread from suggestions forum.
     
  2. Mike

    Mike XenForo Developer Staff Member

    This has been discussed before and it was a conscious decision: the link is more useful for the average user in the vast majority of cases (given that it includes thread information), so we decided to use that. (Pre-beta 1 of 1.0 it used posts/.) You are free to change it in a template obviously.
     
  3. infis

    infis Well-Known Member

    Examples?
    I change in template "post" one line. Old:
    Code:
    <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xen:phrase permalink}" class="item muted postNumber hashPermalink OverlayTrigger" data-href="{xen:link posts/permalink, $post}">#{xen:calc '{$post.position} + 1'}</a>
    New:
    Code:
    <a href="{xen:link posts, $post}" title="{xen:phrase permalink}" class="item muted postNumber hashPermalink OverlayTrigger" data-href="{xen:link posts/permalink, $post}">#{xen:calc '{$post.position} + 1'}</a>
    This is correct?
     

Share This Page