Low commit activity in last 3 years
A long-lived project that still receives updates
Pageflow Page Type text pages
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0, < 3
~> 12.0
~> 1.0
>= 15, < 18

Runtime

 Project Readme

Pageflow Text Page

Gem Version Build Status

Page type to display large texts on a page.

Installation

Add this line to your application's Gemfile:

gem 'pageflow-text-page'

Register the page type inside the configure block in config/initializers/pageflow.rb

Pageflow.configure do |config|
  config.page_types.register(Pageflow::TextPage.page_type)
end

Include javascripts and stylesheets:

# app/assets/javascripts/pageflow/application.js
//= require pageflow/text_page

# app/assets/javascripts/pageflow/editor.js
//= require pageflow/text_page/editor

# app/assets/stylesheets/pageflow/application.scss
@import "pageflow/text_page";

# app/assets/stylesheets/pageflow/themes/default.scss
@import "pageflow/text_page/themes/default";

Execute bundle install Restart the application server.

Troubleshooting

If you run into problems while installing the page type, please also refer to the Troubleshooting wiki page in the Pageflow repository. If that doesn't help, consider filing an issue.

Contributing Locales

Edit the translations directly on the pageflow-text-page locale project.