Giter Site home page Giter Site logo

harssh / spree-product-news Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vladvinnikov/spree-product-news

0.0 2.0 0.0 122 KB

A spree extension to manage news items, which can be related to products. (somewhat like a blog, but more specific)

spree-product-news's Introduction

Update

Notice of demolition: this rep WILL be removed. Go fork, even register your fork on spreecommerce, but don't sent pushes.

Spree Product News

Adds simple news to Spree, which may be product related or have an image attached.

Reading text files in /content/article, which consist of yaml metadata followed by Markdown content.

With rake spree_product_news:new you can get a scaffold article with timestamp and slug.

To specify one or several products for the article, add product_name: as a comma separated list. Each word(s) will be used for a product search and the first shown in a product box with image and description.

Alternatively, you can add image: to the article and the image (full path) will be displayed next to the article in it's seperate box (410 pixels wide)

We now polished the layout and there is it's own stylesheet included

Install

  1. The gem relies only on the prawn gem, to install you need to add the following lines to your Gemfile

    gem 'spree_product_news' , :git => 'git://github.com/dancinglightning/spree-product-news.git'

  2. run bundler

    bundle install

  3. Install the stylesheet and it's less equivalent for you to edit

rake spree_product_news:install

Contributions welcome

Torsten

spree-product-news's People

Watchers

James Cloos avatar Harssh  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.