Constellation.Feature.Navigation
9.0.12.25153
See the version list below for details.
dotnet add package Constellation.Feature.Navigation --version 9.0.12.25153
NuGet\Install-Package Constellation.Feature.Navigation -Version 9.0.12.25153
<PackageReference Include="Constellation.Feature.Navigation" Version="9.0.12.25153" />
paket add Constellation.Feature.Navigation --version 9.0.12.25153
#r "nuget: Constellation.Feature.Navigation, 9.0.12.25153"
// Install Constellation.Feature.Navigation as a Cake Addin #addin nuget:?package=Constellation.Feature.Navigation&version=9.0.12.25153 // Install Constellation.Feature.Navigation as a Cake Tool #tool nuget:?package=Constellation.Feature.Navigation&version=9.0.12.25153
Constellation is a collection of utilities for .NET CMS implementers.
The Feature.Navigation library solves the frequently occurring problem that the primary navigation or footer navigation of a website does not necessarily
share organization with the contents of the content tree. The reason may be differing SEO goals on URL construction, the need to name something differently
in navigation as opposed to the Page's heading values, or the need to construct a cross-cutting menu that draws Items from a wide variety of locations. This
library also gracefully handles the need to have external or document links within a static navigation system (such as a "fat footer").
Static Navigation Components:
- Navigation Menu - This is a marker item that specifies the root of a static navigation definition for a given website. There can be many of these on any particular
website. It is recommended that these Items become the Datasource of your Navigation renderings.
- Navigation Link - This is the conceptual member of a navigation and represent a hyperlink, visible to the user, that actually navigates somewhere else (as opposed to
click-to-open style links or buttons) Includes the link as a General Link with all its available options, as well as a flag to indicate the link text should come
from the Navigation Link Item's Display Name, which is the recommended approach to ensure the Navigation definition in Sitecore looks like what you see on page. Can be nested.
- Image Navigation Link - Because there's always some navigation that is represented via icons rather than text. Inherits from above.
- Link Group - Allows for the grouping of Navigation links into named groups. Very useful for pull-down navigation menu options, or Fat Footers with named columns.
Can be nested.
- NavigationRepository.GetNavigation - Static method that accepts a Navigation Menu item and assembles a full tree-like ViewModel for immediate processing in your View.
When using NavigationLink objects, there are usually several opportunities to supply the text of a given link. NavigationLink.GetBestLinkText() evaluates all of them and attempts to
supply the best fit. The strategy is based on overriding the concept of "name". Here are the rules:
- If Use This Display Name is checked on the NavigationLink item, it wins.
- If the Link.Text is supplied by the user, it wins.
- If the Link.TargetItem exists and inherits from Page Navigation Title, and the field value is not null, it wins.
- If the Link.TargetItem exists its DisplayName is used.
- Assuming all other things are not true, use the NavigationLink's DisplayName. Note that in this condition if you intended to point to a Sitecore Item, you have a bad link.
Context Navigation Components:
- Page - This is a marker Template that should be assigned to any Template in your site that should be considered a page.
- Landing Page - This is a marker Template that signals that start of local section navigation. Descends from Page
- List Page - This is a marker template that signals that child items are part of a large collection of like items, such as a Bucket. Descends from Page
- NavigationRepository.GetSectionNavigation - Static method that accepts the request Context Item (should be a Page) and generates a tree of NavigationNodes representing
the nearest LandingPage, its children, as well as the descendants of any children that are Ancestors of the Context Item. (will also create Children for the Context Item node
in the tree). Use this to produce the expanded navigation seen on many sites with deep content.
You must install the included package to get the Templates required to use this library.
Configured for use with Sitecore 9.0.
Requires Sitecore 9.0 NuGet packages, available here: https://sitecore.myget.org/F/sc-packages/api/v3/index.json
Requires the installation of the included Package.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Constellation.Foundation.ModelMapping (>= 9.0.16.23947)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
10.3.0.25486 | 1,682 | 6/16/2023 |
10.2.1.22896 | 2,707 | 3/24/2022 |
10.2.0.25604 | 899 | 11/15/2021 |
10.2.0.25345 | 833 | 11/15/2021 |
10.1.1.22398 | 1,310 | 3/24/2022 |
10.1.0.17433 | 1,397 | 3/5/2021 |
10.0.3.24791 | 1,896 | 11/20/2020 |
10.0.2.28531 | 1,114 | 8/19/2020 |
10.0.2.22966 | 1,101 | 8/19/2020 |
10.0.1.28589 | 1,061 | 8/5/2020 |
10.0.0.23819 | 1,051 | 8/4/2020 |
9.3.0.19127 | 1,172 | 7/27/2020 |
9.1.11.25113 | 1,228 | 3/27/2020 |
9.1.10.23104 | 1,265 | 12/20/2019 |
9.1.9.19228 | 1,190 | 12/10/2019 |
9.1.8.16491 | 1,338 | 6/4/2019 |
9.1.7.32436 | 1,154 | 6/3/2019 |
9.1.6.28509 | 1,160 | 6/3/2019 |
9.1.5.19058 | 1,181 | 5/29/2019 |
9.1.4.28540 | 1,174 | 4/11/2019 |
9.1.3.28058 | 1,291 | 3/6/2019 |
9.1.2.17734 | 1,291 | 2/1/2019 |
9.1.1.23791 | 1,351 | 12/11/2018 |
9.1.0.23931 | 1,402 | 12/7/2018 |
9.1.0.22346 | 1,289 | 12/7/2018 |
9.0.26.21596 | 1,335 | 11/8/2018 |
9.0.25.29414 | 1,339 | 10/25/2018 |
9.0.24.18052 | 1,391 | 10/23/2018 |
9.0.23.21057 | 1,382 | 10/22/2018 |
9.0.22.27125 | 1,371 | 10/19/2018 |
9.0.22.19031 | 1,358 | 10/19/2018 |
9.0.21.25109 | 1,386 | 10/18/2018 |
9.0.21.20919 | 1,339 | 10/18/2018 |
9.0.21.17503 | 1,384 | 10/18/2018 |
9.0.20.26607 | 1,392 | 10/17/2018 |
9.0.19.27110 | 1,393 | 10/16/2018 |
9.0.19.26217 | 1,315 | 10/16/2018 |
9.0.19.24819 | 1,363 | 10/16/2018 |
9.0.18.24102 | 1,380 | 10/16/2018 |
9.0.17.26056 | 1,380 | 10/4/2018 |
9.0.16.28051 | 1,712 | 7/3/2018 |
9.0.15.27526 | 1,629 | 5/30/2018 |
9.0.14.26746 | 1,605 | 5/25/2018 |
9.0.13.20846 | 1,730 | 2/12/2018 |
9.0.12.25153 | 1,623 | 1/12/2018 |
9.0.11.16660 | 1,586 | 1/12/2018 |
9.0.10.23413 | 1,621 | 1/11/2018 |
9.0.9.22148 | 1,572 | 1/10/2018 |
9.0.8.18398 | 1,536 | 1/10/2018 |
9.0.7.23564 | 1,555 | 1/8/2018 |
9.0.6.29308 | 1,514 | 12/13/2017 |
9.0.6.28247 | 1,457 | 12/13/2017 |
9.0.5.21024 | 1,556 | 12/11/2017 |
9.0.4.18541 | 1,598 | 12/8/2017 |
9.0.3.28990 | 1,570 | 12/6/2017 |
9.0.3.24970 | 1,618 | 12/6/2017 |
9.0.3.23077 | 1,665 | 12/6/2017 |
9.0.2.28961 | 1,526 | 12/5/2017 |
9.0.2.25631 | 1,486 | 12/5/2017 |
9.0.1.28875 | 1,504 | 12/4/2017 |
9.0.1.28146 | 1,487 | 12/3/2017 |
9.0.1.27507 | 1,438 | 12/3/2017 |
9.0.0.22758 | 1,455 | 12/3/2017 |
9.0.0.21988 | 1,464 | 12/3/2017 |
Dependency update.