Jump to content

How to get the "edit" link back


Go to solution Solved by WP V0RT3X,

Recommended Posts

Posted

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.

  • Solution
Posted

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>

 

Posted
11 hours ago, V0RT3X666 said:

Try template forums -> topics -> post and insert

Thank  you so much @VORT3X666. That worked perfectly. I agree. It should be the default or an option in the theme.

  • Recently Browsing   0 members

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