Bonsai.FlexibleLinks.Core
1.0.1
dotnet add package Bonsai.FlexibleLinks.Core --version 1.0.1
NuGet\Install-Package Bonsai.FlexibleLinks.Core -Version 1.0.1
<PackageReference Include="Bonsai.FlexibleLinks.Core" Version="1.0.1" />
paket add Bonsai.FlexibleLinks.Core --version 1.0.1
#r "nuget: Bonsai.FlexibleLinks.Core, 1.0.1"
// Install Bonsai.FlexibleLinks.Core as a Cake Addin
#addin nuget:?package=Bonsai.FlexibleLinks.Core&version=1.0.1
// Install Bonsai.FlexibleLinks.Core as a Cake Tool
#tool nuget:?package=Bonsai.FlexibleLinks.Core&version=1.0.1
customPickers - for Umbraco 10
This is an umbraco package that contains only the core assemblies of the Flexible Links data type to allow users to create new link types without the app_plugin files.
Adding new links types
To add a new picker, all you need to do is implement the IFlexibleLinkType interface, making sure that the Key guid is unique to the picker. There are also a couple base classes than can be used to speed up creation of the picker.
- BaseManualLinkType - This is used for links where the url is manually entered. It's used for the Anchor and External link types out of the box.
- BasePickedLinkType - This is for pickers where the user can choose content to link to. It's used by the Content and Media link types out of the box. Note that the picker type determines how this will behave.
- Content - Will use umbraco's built in content picker.
- Media - Will use umbraco's built in media picker.
- Custom - Will use a custom tree picker that uses the GetTree method of the picker type to pull in content. Note that this behavior can be changed to a customized implementation by setting the PickerPath of the type (by default this is set to "/app_plugins/flexiblelinks/tree-picker.html").
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Umbraco.Cms.Core (>= 10.1.0)
- Umbraco.Cms.Web.BackOffice (>= 10.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Bonsai.FlexibleLinks.Core:
Package | Downloads |
---|---|
Bonsai.FlexibleLinks.Backoffice
Adds a new data type named "Flexible Links" to the umbraco backoffice. It allows users to add multiple links, similar to the built in "Multi Url Picker" data type, but it can be extended to accomodate additional kinds of links for things like modals, anchor links, etc. |
GitHub repositories
This package is not used by any popular GitHub repositories.
- removed test picker that was accidentally left in package