https://github.com/tf/pageflow-horizontal-navigation-bar
A Pageflow navigation bar widget aligned along the top
https://github.com/tf/pageflow-horizontal-navigation-bar
Last synced: 9 months ago
JSON representation
A Pageflow navigation bar widget aligned along the top
- Host: GitHub
- URL: https://github.com/tf/pageflow-horizontal-navigation-bar
- Owner: tf
- Created: 2015-04-27T15:30:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-03T07:08:19.000Z (about 11 years ago)
- Last Synced: 2025-07-22T23:37:22.098Z (12 months ago)
- Language: JavaScript
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Pageflow Horizontal Navigation Bar
[](http://badge.fury.io/rb/pageflow-horizontal-navigation-bar)
A navigation bar aligned along the top.
## Installation
Add this line to your application's `Gemfile`:
gem 'pageflow-horizontal-navigation-bar'
Register the widget type inside the configure block in `config/initializers/pageflow.rb`
Pageflow.configure do |config|
config.widget_types.register(Pageflow::HorizontalNavigationBar.widget_type)
end
Include javascripts and stylesheets:
# app/assets/javascripts/pageflow/application.js
//= require pageflow/horizontal_navigation_bar
# app/assets/stylesheets/pageflow/application.css.scss
@import "pageflow/horizontal_navigation_bar";
# Adding basic style to your theme
# app/assets/stylesheets/pageflow/themes/default.css.scss
@import "pageflow/horizontal_navigation_bar/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](https://github.com/codevise/pageflow/wiki/Troubleshooting) wiki
page in the [Pageflow repository](https://github.com/codevise/pageflow). If that
doesn't help, consider
[filing an issue](https://github.com/codevise/pageflow-horizontal-navigation-bar/issues).
## Contributing Locales
Edit the translations directly on the
[pageflow-horizontal-navigation-bar](http://www.localeapp.com/projects/public?search=tf/pageflow-horizontal-navigation-bar)
locale project.