21,998 downloads - November 30, 2015
We have switched to admin only, please email markwdilley@gmail if you would like to edit.

Add The Link To EditMe

From Universal Edit Button

Jump to: navigation, search

Add the Edit button to an EditMe site by pasting the following into the <head> section of your site's Layout:

 <link editme="if page.canEdit ;; parse href" rel="alternate"
   type="application/x-wiki" title="Edit This Page"
   href="/_Edit?page-id={page.name}"/>

If you want to show the button to prompt a user who is not logged in to edit a page that requires login, include this in addition to the above:

 <link editme="if !user.isLoggedIn &amp;&amp; !page.canEdit ;; parse href" 
   rel="alternate" type="application/x-wiki" title="Log In to Edit This Page"
   href="/_Login?redirect=%2F_Edit%3Fpage-id%3D{page.name}"/>
Personal tools