Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.26 KB

File metadata and controls

64 lines (38 loc) · 2.26 KB

Xperience Community: Page Edit Button

Description

This package provides content editors with a button displayed on web channel pages, that allows them to quickly navigate to the right place in the Xperience by Kentico administration interface to edit the page.

NOTE: As mentioned in a Q&A discussion, this button will only appear if the user is authenticated to an admin portal that is on the same domain as the front-end site.

In older versions of Kentico using Portal Engine (ASP.NET Web Forms), this functionality was provided through a button like this:

Portal Engine Page Edit Button

With this package, you can add a similar button to your Xperience by Kentico website channels. It will be displayed in the bottom right corner of the page:

Xperience by Kentico Page Edit Button

Library Version Matrix

Xperience Version Library Version
>= 29.1.4 1.0.0

Dependencies

Package Installation

Add the package to your application using the .NET CLI

dotnet add package XperienceCommunity.PageEditButton

Quick Start

  1. Install NuGet package above.

  2. Add the following Tag Helper directive to your _ViewImports.cshtml:

    @addTagHelper *, XperienceCommunity.PageEditButton
  3. Add the PageEditButton ViewComponent and page-edit-button-styles Tag Helper to your layout template _Layout.cshtml:

       <page-edit-button-styles />
    </head>
    <body>
       <vc:page-edit-button />
  4. Load a page after authenticating to the Xperience by Kentico administration interface. The button will appear in the bottom right corner of the page.

Contributing

Feel free to submit issues or pull requests to the repository, this is a community package and everyone is welcome to support.

License

Distributed under the MIT License. See LICENSE.md for more information.