Plugins - TableauEngine

StarAdd to favorites

TableauEngine is a AJAX-based photo album engine ported from the original Tableau photo album for rails, found at http://creativi.st/tableau. Changes to the original Tableau include:

  1. integration with LoginEngine and UserEngine
  2. upgrade to Lightbox 2.02

This software package is developed using the Engines plugin. To find out more about how to use engines in general, go to http://rails-engines.rubyforge.org for general documentation about the Engines mechanism.

Installation

  1. Create your Rails application, set up your databases, grab the Engines plugin and the TableauEngine, and install them.
  2. Install the TableauEngine into your vendor/plugins directory
  3. Modify your Engines.start call in config/environment.rb
     Engines.start :tableau # or :tableau_engine
    
  4. Edit your application.rb file so it looks something like the following (optional):
     class ApplicationController < ActionController::Base
       include TableauEngine
     end
    
  5. Edit your application_helper.rb file (optional):
     module ApplicationHelper
       include TableauEngine
     end
    
  6. Perform any configuration you might need. You’ll probably want to set these values in environment.rb (before the call to Engines.start):
     module TableauEngine
       config :some_option, "some_value"
     end
    
  7. Initialize the database tables. You can either use the engine migrations by calling:
     rake engine_migrate
    
      to move all engines to their latest versions, or
    
        rake engine_migrate ENGINE=tableau
    
      to migrate only this engine.
    
  8. The TableauEngine provides a default stylesheet and a small javascript helper file, so you’ll probably want to include the former and almost certainly the latter in your application’s layout. Add the following lines:
       <%= engine_stylesheet "tableau_engine" %>
       <%= engine_javascript "tableau_engine" %>
    

Liam Morley

http://publicsvn.carpeliam.com/tableau_engine/

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Rails Engines

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?