= Featured Pages Installing Featured Pages allows you to select pages to display for pages that have the featured_page field set to true. It selects from all pages (that are not virtual pages) and currently accepts parameters limit and/or order.

Featured Pages

...etc...
Other tags provided are r:featured_pages:if_first and r:featured_pages:unless_first which will return or exclude the first featured_page in the collection. Ultimately the migration should create a featured_pages table, rather than polluting the pages table with more data, but this is a quick extension to get the functionality out for our needs. The next version, should migrate the data created here into a new table. This requires that the Shards extension is installed and loaded first. To do so, your config/environment.rb file should appear similar to: Radiant::Initializer.run do |config| ... config.extensions = [ :shards, :all ] ... end Unfortunately no tests have been created (other than the generic ones generated). The next version will have tests included. Built by Saturn Flyer http://www.saturnflyer.com