Giter Club home page Giter Club logo

helpify's Introduction

Helpify

installation

./script/plugin install [email protected]:kiszal/helpify.git

set up and usage

Run:

./script/generate helpify

File help_settings.yml should be generated in your /config folder.

Open it and provide all page urls where help information should be displayed. Next to each url provide a name of a partial which you want to display in this page.

You will find examples in file help_settings.yml

After that:

rake db:migrate 
./script/generate help_templates

Now you should have a new folder app/views/helps in which help templates have been generated.

Edit each template and customize it according to your needs.

Helpify will display help templates on provided urls specified in help_settings.yml unless user closes it.

Once user closes help it won’t be displayed to him anymore.

In order to display a template go to the page and add show_help(object) in the place you want the help template to by displayed.

Assuming your object is a current_user.

You should add

helpify

in User model. In each page where help template should be displayed add

show_help(current_user)

To add new help templates just go to /config/help_settings.yml and update it. Than run:

./script/generate help_templates

Old templates would not be ovewritten - the new once would be added.

Copyright © 2010 kiszal , released under the MIT license

helpify's People

Contributors

kiszal avatar

Stargazers

 avatar Marcin Bunsch avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.