Pageflow Linkmap Page
Page type to display customizable link areas to internal/external pages and inline audio players.
Installation
Add this line to your application's Gemfile
:
gem 'pageflow-linkmap-page'
Register the page type inside the configure block in config/initializers/pageflow.rb
Pageflow.configure do |config|
config.plugin(Pageflow::LinkmapPage.plugin)
end
Include javascripts and stylesheets:
# app/assets/javascripts/pageflow/application.js
//= require pageflow/linkmap_page
# app/assets/javascripts/pageflow/editor.js
//= require pageflow/linkmap_page/editor
# app/assets/stylesheets/pageflow/application.css.scss
@import "pageflow/linkmap_page";
# app/assets/stylesheets/pageflow/editor.css.scss
@import "pageflow/linkmap_page/editor";
Import default theme additions:
# app/assets/stylesheets/pageflow/themes/default.css.scss
@import "pageflow/linkmap_page/themes/default";
/* Display arrows left and right to indicate panorama */
@import "pageflow/linkmap_page/themes/default/scroll_indicators";
Install dependencies:
bundle install
Restart the application server and enable the corresponding page type feature.
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-internal-links locale project.