Admin in-page edit links
Copy this code and paste it in your HTML
{if logged_in_group_id == "1"}
<li><a href="/eengine/index.php?&C=edit&M=edit_entry&entry_id={entryID}" target="_blank">Edit this page
</a></li> <li><a href="/eengine/index.php?C=logout" target="_blank">Logout
</a></li>
{/if}
URL: http://codesnippets.joyent.com/tag/expressionengine
Report this snippet
Comments
Subscribe to comments