View Edit This
Category:HowTo
Category:Note to Self
Question: How can I add an Edit This link on my entries?
Answer: Here’s one method:
{if member_group=='1'}
<p><a href="/admin.php?C=edit&M=edit_entry&weblog;_id={weblog_id}
&entry;_id={entry_id}" target=_blank>Edit This</a></p>
{/if}
NOTE: This relies on you having uploaded admin.php to your root directory.
If you are using an add-on domain, copy the admin.php to the same folder your path.php and index.php are in.
If you want to use this solution on your primary domain, copy the admin.php file from the system/utilities directory into you root EE directory. (The same place you have your path.php file.)