https://github.com/codevise/pageflow-new-pages-box
A widget to display recently added pages
https://github.com/codevise/pageflow-new-pages-box
Last synced: 5 months ago
JSON representation
A widget to display recently added pages
- Host: GitHub
- URL: https://github.com/codevise/pageflow-new-pages-box
- Owner: codevise
- Created: 2015-04-27T14:53:58.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T05:53:54.000Z (over 2 years ago)
- Last Synced: 2025-06-17T05:42:48.066Z (12 months ago)
- Language: SCSS
- Size: 47.9 KB
- Stars: 0
- Watchers: 9
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Pageflow New Pages Box
[](http://badge.fury.io/rb/pageflow-new-pages-box)
A small box listing the pages that were added since your last visit
## Installation
Add this line to your application's `Gemfile`:
gem 'pageflow-new-pages-box'
Register the widget type inside the configure block in `config/initializers/pageflow.rb`
Pageflow.configure do |config|
config.widget_types.register(Pageflow::NewPagesBox.widget_type, default: true)
end
Include javascripts and stylesheets:
# app/assets/javascripts/pageflow/application.js
//= require pageflow/new_pages_box
# app/assets/stylesheets/pageflow/application.scss
@import "pageflow/new_pages_box";
# Adding basic style to your theme
# app/assets/stylesheets/pageflow/themes/default.scss
@import "pageflow/new_pages_box/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-new-pages-box/issues).
## Contributing Locales
Edit the translations directly on the
[pageflow-new-pages-box](http://www.localeapp.com/projects/public?search=tf/pageflow-new-pages-box)
locale project.