Coder Social home page Coder Social logo

lssweatherhead / blip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nathanwoulfe/blip

0.0 0.0 0.0 83.74 MB

Block List Item Picker for Umbraco CMS

License: Other

JavaScript 1.80% C# 6.86% PowerShell 0.33% TypeScript 5.86% CSS 68.20% HTML 16.74% SCSS 0.20%

blip's Introduction

One of the great promises that came with Umbraco's Block List property editor was the concept of reusable blocks - define a block once, and use it in multiple places.

This is yet to come to fruition in the core Backoffice, but that doesn't mean it can't be done. Enter Blip (cue applause). While not as elegant as storing blocks in the content tree, Blip provides access to Block List properties on a different content nodes - for example, a site config node with different Block Lists storing USPs, testimonials, or banner images.

By way of a custom content retrieval API, Blip allows readonly blocks for cases where the editor does not have permission to update the source node, and a full infinite-editing experience for editors with update permission. Blip loves custom block views, and will use these when rendering blocks in lists and overlays. As much as possible, Blip aims to feel and behave just like the native Block List editor, only without block creation.

Blip stores a reference to the selected node(s) and provides a frontend-friendly strongly typed model, using the familiar BlockListModel type, so rendering Blip data is exactly the same as rendering the native Block List.

Getting started

Blip supports Umbraco 8+, and is installable via your CLI of choice.

Installing adds the Blip property editor which can then be used to create a new data type. The Blip data type has a simple config, with optional validation rules:

image

After selecting a source node, the source property config field will present only valid Block List properties. Set the desired source property to restrict the data type to blocks stored on the property.

blip's People

Contributors

nathanwoulfe 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.