Sha256: dc01c5fc78d9a626738051f11632fcee07a862d91560bee16b6088225f431b88

Contents?: true

Size: 1.69 KB

Versions: 1

Compression:

Stored size: 1.69 KB

Contents

# Pageflow Internal Links

[![Gem Version](https://badge.fury.io/rb/pageflow-internal-links.svg)](http://badge.fury.io/rb/pageflow-internal-links)

Page types for linking to pages inside a Pageflow.

## Installation

Add this line to your application's Gemfile:

    # Gemfile
    gem 'pageflow-internal-links'

Register the page types:

    # config/initializers/pageflow.rb
    Pageflow.configure do |config|
      config.page_types.register(Pageflow::InternalLinks.grid_page_type)
    end

Include javascripts and stylesheets:

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

    # app/assets/javascripts/pageflow/editor.js
    //= require pageflow/internal_links/editor

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

    # app/assets/stylesheets/pageflow/editor.css.scss
    @import "pageflow/internal_links/editor";

Install dependencies:

    bundle install

Copy migrations of pageflow-internal-links into your project:

    bundle exec rake pageflow_internal_links:install:migrations

Migrate the database:

    bundle exec rake db:migrate

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-internal-links/issues).

## Contributing Locales

Edit the translations directly on the
[pageflow-internal-links](http://www.localeapp.com/projects/public?search=tf/pageflow-internal-links)
locale project.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pageflow-internal-links-0.1.0 README.md