Skip to content

Displays pages that were added to a single pageflow after your last visit of the pageflow

Notifications You must be signed in to change notification settings

upsworld/pageflow-new-pages-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
end

Include javascripts and stylesheets:

# app/assets/javascripts/pageflow/application.js
//= require pageflow/new_pages_box

# app/assets/stylesheets/pageflow/application.css.scss
@import "pageflow/new_pages_box";

# Adding basic style to your theme
# app/assets/stylesheets/pageflow/themes/default.css.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 wiki page in the Pageflow repository. If that doesn't help, consider filing an issue.

About

Displays pages that were added to a single pageflow after your last visit of the pageflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published