A navigation bar displaying chapter titles.
Add this line to your application's Gemfile
:
gem 'pageflow-outline-navigation-bar'
Register the plugin inside the configure block in config/initializers/pageflow.rb
Pageflow.configure do |config|
config.plugin(Pageflow::OutlineNavigationBar.plugin)
end
Include javascripts and stylesheets:
# app/assets/javascripts/pageflow/application.js
//= require pageflow/outline_navigation_bar
# app/assets/stylesheets/pageflow/themes/default.css.scss
@import "pageflow/outline_navigation_bar/themes/default";
Execute bundle install
Restart the application server.
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-outline-navigation-bar locale project.