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

 Download package
version 1.0.2

NuGet install instructions for Umbraco 8.3.0-8.18.13

Install-Package Our.Umbraco.EditLink

Package owner

Paul Seal

Paul Seal

Paul has 2889 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.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions: 8.6.x, 8.5.x, 8.4.x, 8.3.x, 8.2.x, 8.1.x, 8.0.x

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: 194
  • Downloads on NuGet: 7.6K
  • Total downloads : 7.8K