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.scss
@import "pageflow/outline_navigation_bar/themes/default";
Execute bundle install
and restart the application server. Now the
widget type can be enabled 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-outline-navigation-bar locale project.