sfShortcutKeyPlugin - 0.1.0

This plugins will help you to create simple shortcuts in JS by an yml configurating. Like that you could do shortcuts with pressed only one or 2 keys and not SHIFT+ALT+ code

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

sfShortcutKeyPlugin

Install

Configure your filters.yml adding :

shortcuts:
  class: sfShortcutKeyFilter

Configure

To configure your shorcuts set the config files shortcuts.yml in yout directories

The structure is the next one :

all:
  shortcuts:
    keys: # Part for direct key code Only one key pressed
      a: #The name of the code
        url: @route # or module/index to redirect on the key pressed
    alt: # Part for ALT+ <smth>
    ctrl: #same for CTRL+<smth>
    shift: # SHIFT+<smth>