• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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.
  • 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.

Quick editing post by double-clicks

#1
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>