Skip to content

An Episerver addon that adds up to menu items to the QuickNavigationMenu when logged in on public site, link to admin, link to ContentType, and logout.

Notifications You must be signed in to change notification settings

LucGosso/Gosso.EPiServerAddOn.QuickNavExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gosso.EPiServerAddOn.QuickNavExtension

version 2.1 (2021-02-10)

Platform Platform Platform (compiled with 9.0, tested with 10.4, Use Version 1.3)

Platform Platform (version 2.0)

An Episerver addon that adds menu items to the QuickNavigationMenu when logged in on public site, All configurable links to imagevault, find, admin, admin content type, and logout. Even custom links!

alt text

Installation and configuration

Available on nuget.episerver.com http://nuget.episerver.com/en/OtherPages/Package/?packageId=Gosso.EPiServerAddOn.QuickNavExtension

Also there is a nuget package available under the releases tab. This can be installed via the package manager console in Visual Studio.

Put it in your local nuget feed, Run "install-package Gosso.EPiServerAddOn.QuickNavExtension" in package manager console.

The files will be saved into your modulesbin folders. And not referenced, not needed. Remember to checkin the modulesbin in repository.

Default menus are Admin and logout, to activate other menu items apply this appsettings: (they are sortable)

<appSettings>
    <add key="Gosso.QuickNav" value="imagevault,find,admin,contenttype,logout" />
</appSettings>

You can add custom menu items, Name and url with pipe in between. Name can be resource path eg /shell/admin/logout

<appSettings>
    <add key="Gosso.QuickNav" value="Custom link|http://devblog.gosso.se,imagevault,find,admin,contenttype,logout" />
</appSettings>

To only show logout item, apply this appsettings:

<appSettings>
    <add key="Gosso.QuickNav" value="logout" />
</appSettings>

You need to have WebAdmins role to see Admin mode menu items.

You may map Administrators role to WebAdmins like this in episerverframework.config:

<episerver.framework>
<virtualRoles addClaims="true">
<providers>
      <add name="WebAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="Administrators" mode="Any" />
</providers>
</virtualRoles>
</episerver.framework>

Role Base Links

From version 2.1 you can add a third pipe with rolename from Epi.

eg: “Link title|/urlForDevsOnly/|WebDevs” <= only WebDevs will see the menu

or “logout||WebEditors” <=only WebEditors will see the logout menu

About

An Episerver addon that adds up to menu items to the QuickNavigationMenu when logged in on public site, link to admin, link to ContentType, and logout.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages