Skip to content

cenixdk/radiant-news-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= News

Created by Pascal Naef (ScreenConcept), December 2008

With this news extension you can enter news with headline, leadtext and text in backend. A news will be only displayed if start is greater or equal current date and stop is less or equal current date.

Requirements
For this extension rails plugin calendar data select plugin is required. Further informations are you find here: http://code.google.com/p/calendardateselect/ .


== INSTALLATION

1)Install the News Extension

git clone git://github.com/screenconcept/radiant-news-extension.git vendor/extensions/news

2) run migration and update

rake production radiant:extensions:news:migrate
rake radiant:extensions:news:update

3) Start (or restart) your server


== USAGE

Radius Tags
<r:news:current>: Returns all current news
<r:news:headline >: Returns headline
<r:news:leadtext >: Returns leadtext
<r:news:text >: Returns text
<r:news:id >: Returns id
<r:news:marquee [behavior="scroll"] [direction="left"] [loop="true"] [scrollamount="1"] [scrolldelay="2"] > : Returns a <marquee>-Tag with all current news and leadtexts.

Example:
<r:news:current>
  <r:news:headline /><br />
  <r:news:leadtext /><br />
  <r:news:text />
</r:news:current>


== TODO
- Frontend tests

About

Simple News Extension for Radiant CMS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%