Coder Social home page Coder Social logo

jordydw / our.umbraco.umbnav Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaronsadleruk/our.umbraco.umbnav

0.0 0.0 0.0 19.38 MB

Drag and drop menu editor for Umbraco V8 and V9

License: MIT License

JavaScript 74.29% C# 1.29% CSS 1.93% HTML 21.26% Less 1.22% ASP.NET 0.02%

our.umbraco.umbnav's Introduction

Umbraco UmbNav

Build status

NuGet Badge

Umbraco Cloud Badge

UmbNav adds a drag and drop menu builder to the Umbraco V8 or V9 backoffice.

Getting started

This package is supported on Umbraco 8.7+ and Umbraco V9.0+

Features

  • Set maximum child levels
  • Hide menu items where umbracoNaviHide is true
  • Auto expand the backoffice menu tree on hover
  • Set the delay of the auto expand on hover (in ms)
  • Add noopener to external links by clicking a checkbox
  • Add noreferrer to external links by clicking a checkbox
  • Auto add child nodes when rendering on the front end
  • Allow menu items to be shown / hidden depending on member authentication status
  • Add custom CSS classes to each menu item in the backoffice
  • Display the property editor as full width in the back office (Hide the label)
  • Add an image to a menu item
  • TagHelper for Umbraco V9
  • GetLinkHtml extension for Umbraco V8 and V9
  • Add label items

Installation

UmbNav is available from Our Umbraco (V8 only), NuGet, or as a manual download directly from GitHub.

NuGet package repository

To install UI from NuGet, run the following command in your instance of Visual Studio.

PM> Install-Package Our.Umbraco.UmbNav.Web

To install Core from NuGet, run the following command in your instance of Visual Studio.

PM> Install-Package Our.Umbraco.UmbNav.Core

To install API from NuGet, run the following command in your instance of Visual Studio.

PM> Install-Package Our.Umbraco.UmbNav.Api

Umbraco Cloud Supported

UmbNav fully supports Umbraco Cloud including the content synchroniser, it has been fully tested transferring and restoring between environments.

Documentation

After installing the package, you will have a new property editor called UmbNav in the Umbraco backoffice, typically this would get added to your sites "Site Settings" or "Home" node.

Check out the integration guide integration guide to learn how to embed the package in your site.

Migration from MegaNavV8

It is possible to migrate from MegaNavV8 to UmbNav.

First create a DataType for UmbNav with at minimum the same settings as your old MegaNavV8 property.

Then edit your property in the document type, and then change the DataType to use your newly created UmbNav DataType, (if your using models builder you will need to regenerate these at this point), visit the location of your menu in the content section and then Save and Publish.

Finally you will need to update your views to work with the new model.

Screenshots

Contribution guidelines

To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the package.

Who do I talk to?

This project is maintained by Aaron Sadler and contributors. If you have any questions about the project please contact me through Twitter, or by raising an issue on GitHub.

License

Copyright © 2021 UmbHost Limited, and other contributors

Licensed under the MIT License.

As per the spirit of the MIT Licence, feel free to fork and do what you wish with the source code, all I ask is that if you find a bug or add a feature please create a to PR this repository.

our.umbraco.umbnav's People

Contributors

aaronsadleruk avatar anthonywhitelaw avatar mistyn8 avatar kevinjump avatar stefanoberetta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.