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:
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 Version | Library Version |
---|---|
>= 29.1.4 | 1.0.0 |
Add the package to your application using the .NET CLI
dotnet add package XperienceCommunity.PageEditButton
-
Install NuGet package above.
-
Add the following Tag Helper directive to your
_ViewImports.cshtml
:@addTagHelper *, XperienceCommunity.PageEditButton
-
Add the
PageEditButton
ViewComponent andpage-edit-button-styles
Tag Helper to your layout template_Layout.cshtml
:<page-edit-button-styles /> </head> <body> <vc:page-edit-button />
-
Load a page after authenticating to the Xperience by Kentico administration interface. The button will appear in the bottom right corner of the page.
Feel free to submit issues or pull requests to the repository, this is a community package and everyone is welcome to support.
Distributed under the MIT License. See LICENSE.md
for more information.