GithubHelp home page GithubHelp logo

scrivito_quote_widget's Introduction

Scrivito Quote Widget

Add some Quotes e.g. Testimonials to your site. This gem will add a Quote Widget and a Quote Obj to your application.

Installation

Add the gem to your gemfile

gem 'scrivito_quote_widget'

Add styles to your styles manifest

*= require scrivito_quote_widget

Add a Filter to your content_browser

scrivito.content_browser.filters = {
  obj_class: {
    field: '_obj_class',
    options: {
      Quote: {
        title: 'Quote',
        icon: 'person',
        query: scrivito.obj_where('_obj_class', 'equals', 'Quote'),
        enable_create: true,
        preset: {
          _obj_class: 'Quote'
        }
      }
    }
  }
};

scrivito_quote_widget's People

Contributors

fewaldip avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

scrivito_quote_widget's Issues

how to 'Add a Filter to your content_browser'

This documentation is not conclusive:


scrivito.content_browser.filters = {
  obj_class: {
    field: '_obj_class',
    options: {
      Quote: {
        title: 'Quote',
        icon: 'person',
        query: scrivito.obj_where('_obj_class', 'equals', 'Quote'),
        enable_create: true,
        preset: {
          _obj_class: 'Quote'
        }
      }
    }
  }
};

Where do I add it?
Where is the content_browser documentation? https://rubygems.org/gems/scrivito_content_browser is referencing https://scrivito.com/d81bd1bfdd4afe2b/content-browser-overview which is not the developer documentation the "Homepage" link is broken http://www.scrivito.com/ as well

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.