Last active
December 28, 2017 17:49
-
-
Save pauloelias/6464870 to your computer and use it in GitHub Desktop.
ExpressionEngine "Edit Entry" link. Place this in your channel entries output to provide a direct link to edit the entry in the control panel.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if member_group == "1"} | |
<div class="edit-entry"><a href="{cp_url}?S=0&D=cp&C=content_publish&M=entry_form&channel_id={stash:channel_id}&entry_id={stash:entry_id}">Edit Page</a></div> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment