Admin in-page edit links


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. {if logged_in_group_id == "1"}
  2.  
  3. <div id="admin">
  4. <ul>
  5. <li><a href="/eengine/index.php?&C=edit&M=edit_entry&entry_id={entryID}" target="_blank">Edit this page</a></li>
  6. <li><a href="/eengine/index.php?C=logout" target="_blank">Logout</a></li>
  7. </ul>
  8. </div>
  9.  
  10. {/if}

URL: http://codesnippets.joyent.com/tag/expressionengine

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.