Jump to content

How to get the "edit" link back


Tennman
Go to solution Solved by WP V0RT3X,

Recommended Posts

Upgraded to version 4.5.

I would like to put the "edit" link back next to the "quote" link at the bottom of posts. My forum members aren't smart enough to click the 3 dots to find it in the menu no matter how many times I tell them. Is there an option in the ACP for restoring the edit link or some other way easily doing it? Any help would be appreciated.

Sorry if this has been asked a dozen times already. I can't seem to find any information on it.

Link to comment
Share on other sites

  • Solution

Try template forums -> topics -> post and insert

                  {{if $comment->canEdit()}}
                      {{if $comment->mapped('first') and $comment->item()->canEdit()}}
                          <li class='ipsButton_verySmall'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li>
                          {{else}}
                          <li class='ipsButton_verySmall'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li>
                      {{endif}}
                  {{endif}}      

before this

					<li class='ipsHide' data-role='commentLoading'>
						<span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span>
					</li>

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...