1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    Dismiss Notice

Free Quick editing post by double-clicks

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 21, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    593
    Trophy Points:
    113
    Gender:
    Male
    template: message

    find:
    Code:
    <div class="messageContent">
    
    
    <article><blockquote class="messageText ugc baseHtml">{xen:raw $message.messageHtml}</blockquote></article>
    
    
                {xen:raw $messageContentAfterTemplate}
    
            </div>
    replace for:
    Code:
    <xen:if is="{$post.canEdit}"><span onDblClick="javascipt:window.location.href='{xen:link posts/edit, $post}'"></xen:if>
            <div class="messageContent">
    
    <article><blockquote class="messageText ugc baseHtml">{xen:raw $message.messageHtml}</blockquote></article>
    
                {xen:raw $messageContentAfterTemplate}
    
            </div>
            <xen:if is="{$post.canEdit}"></span></xen:if>
     

Share This Page