user-pic

Edit an Entry Link

Vote 0 Votes

I'm currently working on an internal database using MT as the CMS. I'd like to be able to click on a link in an entry in order to get to the back end to edit. Something similar to this is in the Universal Template but it's only for pages.

Is there a way to do this for entries? I'd also like to hard code this into the template so it would work for any entry.

While i've looked at the javascript code in the header of the Universal Template I couldn't figure out how to make it work for the entries.

Has anyone tried this before?

2 Replies

| Add a Reply
  • The reason it's done the way it is in the Universal Template Set is so that it's only displayed to users that are signed-in.

    If that's not an issue, you can add this to the Entry Archive template:

    <a href="<$mt:CGIPath$><mt:AdminScript>?_mode=view&type=entry&id=<mt:EntryId />&blog_id=<mt:BlogID>">Edit this entry</a>

  • Hi Jim,

    Thanks for that! It seems to work but it doesn't take me to the actual entry to edit the entry. It just takes me to the dashboard page. Maybe I'm doing something wrong?

Add a Reply

Forum Groups