Page type to display a chronological list of page links.
Add this line to your application's Gemfile:
# Gemfile
gem 'pageflow-timeline-page'
Register the plugin:
# config/initializers/pageflow.rb
Pageflow.configure do |config|
config.plugin(Pageflow::TimelinePage.plugin)
end
Include javascripts and stylesheets:
# app/assets/javascripts/components.js
//= require "pageflow/timeline_page/components"
# app/assets/javascripts/pageflow/application.js
//= require "pageflow/timeline_page"
# app/assets/javascripts/pageflow/editor.js
//= require pageflow/timeline_page/editor
# app/assets/stylesheets/pageflow/application.scss
@import "pageflow/timeline_page";
# app/assets/stylesheets/pageflow/themes/default.scss
@import "pageflow/timeline_page/themes/default";
Execute bundle install
and restart the application server.
Now you can enable the page type in your feature settings.
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.
Edit the translations directly on the pageflow-timeline-page locale project.