sfSIFRPlugin - 1.0.0

sIFR plugin

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 | Show as Markdown

sfSIFRPlugin

sfSIFRPlugin is a symfony plugin packaging of the sIFR library for flash replacement text.

Installation

  • Install the plugin

    $ symfony plugin-install http://plugins.symfony-project.com/sfSIFRPlugin

Configuration

First add the sIFR filter to add the correct JavaScript to the page:

rendering: ~
web_debug: ~
security:  ~

# generally, you will want to insert your own filters here

sifr:
  class:   sfSIFRFilter

cache:     ~
common:    ~
flash:     ~
execution: ~

Next you will need to configure the plugin in your app.yml file:

all:
  sifr:
    font_path:    /fonts
    font:         DIN_medium.swf
    replace:
      h1:
        sWmode:  transparent
        sColor:  "#005D42"
        sCase:   normal

All standard sIFR replacement options are available.

Finally clear the cache:

symfony clear-cache

Fonts

The sIFR package comes with two fonts available for use on all sites and instructions are enclosed on how to create more fonts.