Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Trouble with sIFR

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 914 Views
  • theoldlr
    Community Member
    103 Posts

    Trouble with sIFR Link to this post

    I have the sIFR module partially working. It shows the proper font, but it does not show the proper text. Instead it shows the font name followed by "generated by sIFRGeneratorcom".

    Also the optional variables for the color etc. are not working--I thought they might once the rest was straightened out. Here is the code I included in my Page.php:

    Sifr::replaceElement(".claritty", "claritty",


  • theoldlr
    Community Member
    103 Posts

    Re: Trouble with sIFR Link to this post

    I discovered part of my problem. I read an old forum post wrong that I thought said sIFR v0.2 module was ready for sIFR 3. I started using the trunk version of the module which supports sIFR3 and now I am able to control the style of the flash text better.

    Now I have a different set of problems. Including a css element like below for the background doesn't work if you are aiming for a transparent background. I do not see a way to change the sWmode to transparent in this version of the module.

    Sifr::add_font('claritty', 'themes/copper/fonts/claritty.swf');
    Sifr::replace_element('claritty', '.claritty', "'.sIFR-root {color: #000000; background: transparent;}'"); //<--background is still white

    Also, instead of using my text it says, "Please update the Flash Movie verstion to". I used http://www.sifrgenerator.com/wizard.html to create my .swf file.

    Thanks in advance!

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.