2 votes

Our.Umbraco.EditLink

This package is useful on sites with lots of content, where you just need to edit a page that you can find easily on the front end of the site, but it is harder to find in the backoffice.

With this package installed, if you are logged into the Umbraco backoffice whilst browsing the front end of the site, you will see a link to edit the page.

When you click the link it will open the page in a new tab.

Dev Instructions

In your master view add

@using Our.Umbraco.EditLink

Then inside the body tag somewhere, just add

@Html.RenderEditLink(Model)

You can pass in different parameters to override these defaults:

    EditLinkPosition position = EditLinkPosition.TopLeft,
    bool applyInlineLinkStyles = true,
    string editMessage = "Edit",
    string linkColour = "#fff",
    string linkBackgroundColour = "#1b264f",
    int fontSize = 16,
    int linkPadding = 10,
    int borderRadius = 6,
    string linkClassName = "edit-link-inner",
    bool applyInlineOuterElementStyles = true,
    int margin = 10,
    int zindex = 10000,
    string umbracoEditContentUrl = "/umbraco#/content/content/edit/",
    string outerClassName = "edit-link-outer",
    string outerPosition = "fixed",
    string linkPosition = "absolute"

This package only works on v8 and above. If you are looking for one for v7, have a look at this one: Edit Link

Screenshots

Package owner

Paul Seal

Paul Seal

Paul has 2326 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.7.x (untested)
Version 8.6.x (100%)
Version 8.5.x (100%)
Version 8.4.x (100%)
Version 8.3.x (100%)
Version 8.2.x (100%)
Version 8.1.x (100%)
Version 8.0.x (100%)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (untested)
Version 7.0.x (untested)
Version 6.2.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Paul Seal
  • Created: 09/12/2019
  • Current version 1.0.2
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 65
  • Downloads on NuGet: 1182
  • Total downloads : 1247