Code Monkey home page Code Monkey logo

refinerycms-news's Introduction

News

Refinery News

About

Refinery's news engine allows you to post updates to the news section of your website.

Key features:

  • Default news page shows a summary of recent news posts
  • Detail view shows the full post and also linked to recent news on the "side bar"

Requirements

RefineryCMS "core" engine version 0.9.9.15 or later.

Gem Installation using Bundler (The very best way)

Include the latest gem into your Refinery CMS application's Gemfile:

gem "refinerycms-news", '~> 1.1'

Then type the following at command line inside your Refinery CMS application's root directory:

bundle install
rails generate refinerycms_news
rake db:migrate

Customising the views

Type this command at your project root to override the default front end views:

$ rake refinery:override view=news_items/*
Copied view template file to app/views/news_items/_recent_posts.html.erb
Copied view template file to app/views/news_items/index.html.erb
Copied view template file to app/views/news_items/show.html.erb

RSS (Really Simple Syndication)

To get RSS for your entire site, insert this into the head section of your layout after installing:

<%= auto_discovery_link_tag(:rss, news_items_url(:format => 'rss')) %>

refinerycms-news's People

Contributors

djones avatar eclubb avatar enriclluelles avatar hez avatar jdewyea avatar joemsak avatar ken-guru avatar keram avatar kivanio avatar marcelocajueiro avatar mariochavez avatar parndt avatar peterberkenbosch avatar raskhadafi avatar ugisozols avatar zerobearing2 avatar

Stargazers

 avatar

Watchers

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