Jump to:

10931 Posts in 2614 Topics by 1810 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: 909 Views
  • theoldlr
    Avatar
    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",
    'sColor:"#ffffff",
    sBGColor:"#444444",
    sHoverColor:"#000000"'
    );
    Sifr::loadSifr();

    Thanks!!

  • theoldlr
    Avatar
    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
    Sifr::activate_sifr();

    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!

    909 Views
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.